ElasticSearch Pageprovider query database after getting the response from elastic

I have defined an ElasticSearch pageprovider in my nuxeo studio. When i call Repository.PageProvider operation to get data using the ElasticSerach pageprovider i found out that the first calls go to elastic to bring the documents from elastic search which is correct behaviour but the next call goes to my database as well. In this database call i can see to query all documents which are returned by elastic search using the uuids of the documents. I am not fetching any property which is not indexed in ElasticSearch. I have configured an external Elastic search. I want to know why nuxeo is doing this and how can i prevent this call to database. I want ElasticSearch page provider returns me the result from elastic serch only anyone's help really appricated thanks

0 votes

0 answers

1715 views

ANSWER