This has been replaced by the Auto-Deploy setup technology you can find here. The below may serve to find some helpful information in case of issues or deeper interest.

-----------------------------------------------------------------------------------------------------------------------------

Enable external elasticsearch server

Add this lines to nuxeo.conf. 

#elasticsearch nodes addresses
elasticsearch.addressList=localhost:9300
# Remote elasticsearch cluster name to join.
elasticsearch.clusterName=elasticsearch
# Name of the Elasticsearch index for the default document repository
elasticsearch.indexName=nuxeo
# Number of replicas (not for embedded mode)
elasticsearch.indexNumberOfReplicas=1

Change localhost to address(es) of the elasicsearch servers.

Enable  elasticsearch for casebrowser fulltext search

Add pi_elastic_search to the list of overrided pageproviders.

elasticsearch.override.pageproviders=default_search,pi_elastic_search

Each page prover name listed in elasticsearch.override.pageproviders will tell the PageProviderService to use ElasticSearchNxqlPageProvider as a replacer to the default page provider.

pi_elastic_search is our custom page provider name which is used only in PiElasticDocumentPaginatedQuery.

PiElasticDocumentPaginatedQuery is called only when users search through the yellow filter box or search dialog.

default_search is a default value of elasticsearch.override.pageproviders so we have to leave it in the list when uncommenting

 
There is a diagnosis servlet for listing all searchable indexes in a given case, using URL endpoint:

http://<server_host>/casebrowser/admin/documents-index-info?case_number=<case_ref>

e.g.

http://our-dms-server.com:9080/casebrowser/admin/documents-index-info?case_number=P1046DEEP

 

Another diagnosis servlet returns elasticsearch configuration and number of processed documents in categories: textExtraction, mailAnalysis, previewGenerating

URL: http://<server_host>/casebrowser/admin/processing-info

 
  • No labels