Elasticsearch
Elasticsearch (Experimental)
Beginning with version v4.3, you can configure CollectionSpace to work with an Elasticsearch cluster. Consult the Getting Started tutorial to learn more about Elasticsearch.
To use CollectionSpace with Elasticsearch, you'll first need to download and install Elasticsearch. Use the version of Elasticsearch required by your version of CollectionSpace:
CollectionSpace 5.2 and above: Elasticsearch version 5.6.
CollectionSpace 4.3 and above: Elasticsearch version 1.7.
Set up an Elasticsearch cluster following the documentation. The default configuration will create a cluster named "elasticsearch" which is the cluster CollectionSpace will attempt to work with by default.
To enable Elasticsearch indexing, edit the configuration file at '$CSPACE_JEESERVER_HOME/nuxeo-server/config/nuxeo.properties
', and set elasticsearch.enabled
to true
.
By default, CollectionSpace will attempt to connect to an Elasticsearch cluster named "elasticsearch" running on the same server. After you've done the basic installation of CollectionSpace, you can point CollectionSpace to a different cluster by changing the configuration file at '$CSPACE_JEESERVER_HOME/cspace/config/services/proto-elasticsearch-config.xml
' and restarting the CollectionSpace server.
Be sure your Elasticsearch cluster is running before you start the CollectionSpace server. This will ensure that all your CollectionSpace collection data will be indexed by Elasticsearch.