cancel
Showing results for 
Search instead for 
Did you mean: 

fulltext search and highlight : empty contextParameters

Ghazi_HAKIM
Confirmed Champ
Confirmed Champ

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.

1 ACCEPTED ANSWER

Ghazi_HAKIM
Confirmed Champ
Confirmed Champ

Hello,

Problem resolved !

I added my custom page provider in nuxeo.conf

elasticsearch.override.pageproviders=document_full_text_search


Regards.

View answer in original post

1 REPLY 1

Ghazi_HAKIM
Confirmed Champ
Confirmed Champ

Hello,

Problem resolved !

I added my custom page provider in nuxeo.conf

elasticsearch.override.pageproviders=document_full_text_search


Regards.

Getting started

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.