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_elastic_search

Each page prover name Values listed in elasticsearch.override.pageproviders will give new alias names to  ElasticSearchNxqlPageProvider and this provider will be returned by PageProviderService if one of the alias names will be provided in ittell the PageProviderService to use ElasticSearchNxqlPageProvider as a replacer to the default page provider.

pi_queryelastic_search is our custom page provider name  which which is used only in PiDocumentPaginatedQuery when it is called with elasticsearch=true flag. Now PiDocumentPaginatedQuery is called with elasticsearch=true flag only for fulltext searches (yellow search box and search window). In all other cases PiDocumentPaginatedQuery with elasticsearch=false or original DocumentPaginatedQuery is called.

PiDocumentPaginatedQuery with elasticsearch=false and DocumentPaginatedQuery works in absolutely same way.

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

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