-
Type: Sub-task
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.9.3
-
Component/s: Elasticsearch, Query & PageProvider
-
Sprint:Sprint 1(5.9.3)
We need a Nuxeo Runtime component that handles elasticsearch integration in the Framework.
This component will be responsible for :
- configuration management
- elasticsearch cluster configuration
- indexing configuration
- controling elasticsearch cluster
- expose Service interface
elasticsearch embedding vs remote-control
elasticsearch is both a java library and a REST server .
There are 3 ways to do the integration :
- embedded java mode : Nuxeo instanciate an elasticsearch node in the same JVM
- autostart server mode : Nuxeo starts an elasticsearch node in a separated JVM (and connects it to an existing cluster)
- connect server mode : Nuxeo simply connect to an existing cluster
First mode is necessary for tests.
Third mode is very likely to be the target production mode.
Second mode could be useful.
exposed Services
There are at least 3 services we want to expose :
- ElasticSearchService an interface to issue queries
- ElasticSearchIndexing an interface to manage indexing
- ElasticSearchAdmin an interface to administer elasticsearch cluster