-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Elasticsearch #4208
Comments
Would there be any downside to the second option? It sounds like the certain winner! |
Do we expect problems with the recent license change for Elasticsearch? |
As general comment: I would appreciate very much, if we can get rid off old elastic search version 5 :-) , I cannot evaluate, if option 1 or 2 (or any other option) is better, but still I would like you to please consider the following:
|
According to https://en.wikipedia.org/wiki/Server_Side_Public_License (used by ElasticSearch from version 7.11 on), this new license is similar to AGPLv3, and therefore, also of "copyleft" type (in comparison to Apache 2.0, which is NOT of copyleft type). In my opinion, this is ok for just running an ElasticSearch Server (as this is just running binaries). What I do not know, to which extend the KITODO-Software uses the Elastic Search SourceCode. If this is the case, for sure, a license consideration needs to done (maybe with the result, NOT to use version 7.11(and newer). |
See also #3153 (comment) |
Description
Elasticsearch is used in an old version. There are two options:
Option 1
Update Elasticsearch to a newer Version.
Version 6 of the Elasticsearch index uses a new format. The so-called mapping types have been removed. This requires changing the way Elasticsearch is addressed so that we can use a more recent version of Elasticsearch.
Option 2
Use Elasticsearch Integration of Hibernate, this resolves a few issues like
correct deleting of data in Hibernate and ES
writing similar queries instead of two different (HQL for Hibernate and ES-dialect for ES)
not adjusting ourself the changes for new ES versions (less maintenance for Kitodo.Production)
TODO
Estimated Costs and Complexity
this is a high-ranged project with 15-20 PT
Related Issues
The text was updated successfully, but these errors were encountered: