-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 8.1
-
Fix Version/s: 8.10
-
Component/s: Elasticsearch
-
Epic Link:
-
Impact type:API change
-
Upgrade notes:
-
Sprint:nxfit 8.4.2, nxfit 8.4.3, nxfit 8.4.5, nxfit 8.4.4
-
Story Points:8
Upgrade Elasticsearch to the lastest 2.x available.
Note that we don't use the pristine elasticsearch-2.3.5.jar because it contains unshaded optimized Joda class BaseDateTime.
This is reported by the tattletalle maven plugin as a multiplejars conflict. The optimized ES implementation of BaseDateTime is only useful on the server side and not on the Transport Client side, it comes with a visibility drawback that Joda maintainers don't want to merge. Therefore we are using a patched version named elasticsearch-2.3.5-nx1.jar that just removes org/joda/time/base/BaseDateTime.class.
The jar can be build like this:
zip -d elasticsearch-2.3.5.jar 'org/joda/time/base/*'
zip elasticsearch-2.3.5.jar PATCH.txt
mv elasticsearch-2.3.5.jar elasticsearch-2.3.5-nx1.jar
Also it requires to deploy the pom file elasticsearch-2.3.5-nx1.pom which is the Elasticsearch pom artifact with a the new version (see patch attached).
- depends on
-
VEND-30 Remove embedded Joda BaseDateTime from ElasticSearch jar
- Resolved
-
NXBT-1261 CI jobs on Nuxeo 8.4+ must use Elasticsearch 2.x
- Resolved
- is related to
-
NXP-22063 Elasticsearch PageProvider should limit navigation to 10k limits
- Resolved
-
NXDOC-896 Document ES 2.x upgrade for Nuxeo 8.10
- Resolved
-
NXP-22058 Upgrade Elasticsearch client library from 2.3.5 to latest 2.4.x
- Resolved
- is required by
-
NXP-21646 Fix Elasticsearch audit querying in drive for limit greater than 10000
- Open
-
NXP-21455 Enable to configure CORS on embedded elasticsearch cluster
- Resolved
-
NXP-21647 Fix Elasticsearch audit page provider usage
- Resolved
-
ELEMENTS-153 Update nuxeo-document-distribution-chart after ES migration to 2.x
- Resolved
-
NXP-20515 Hide log printed by elasticsearch client in embedded mode
- Resolved
-
NXP-21193 Elasticsearch core tests are slower since es 2.x nux 8.4
- Open
-
NXP-20484 Fix ITSearchTab test after ES upgrade
- Resolved