Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

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

Table of Contents
Table of Contents

Enable

...

external elasticsearch server

Add this lines to nuxeo.conf. 

...

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

Enable  elasticsearch for casebrowser fulltext search

...

addAdd pi_queryelastic_search to the list of overrided pageproviders:.

Code Block
elasticsearch.override.pageproviders=default_search,pi_query_search_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