Versions Compared

Key

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

...

add pi_query_search to the list of overrided pageproviders, do not forget to leave default.

pi_query_search page provider according nuxeo recomendation: is our custom page provider name  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.

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

...