08-02-2023 06:50 AM
Hello,
I created a custom Page Provider to search for specific words in a specific document :
<coreQueryPageProvider name="document_full_text_search">
<trackUsage>true</trackUsage>
<property name="coreSession">#{documentManager}</property>
<whereClause docType="DefaultSearch">
<fixedPart>
ecm:uuid = ?
</fixedPart>
<predicate parameter="ecm:fulltext" operator="FULLTEXT">
<field schema="default_search" name="ecm_fulltext" />
</predicate>
</whereClause>
<pageSize>1</pageSize>
</coreQueryPageProvider>
But when I test my Page Provider : http://host:port/nuxeo/api/v1/search/pp/document_full_text_search/execute?ecm_fulltext=test&highligh...
The document is returned but contextParameters is empty in the Json !
Do you know why ?
Thanks.
10-16-2023 08:32 AM
Hello,
Problem resolved !
I added my custom page provider in nuxeo.conf
elasticsearch.override.pageproviders=document_full_text_search
Regards.
10-16-2023 08:32 AM
Hello,
Problem resolved !
I added my custom page provider in nuxeo.conf
elasticsearch.override.pageproviders=document_full_text_search
Regards.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.