How to include idf in the scoring of percolate query?


#1

My use case is that I run a query to retrieve an initial result list, then save the query as a percolator, then when new docs are added to ES, they are percolated to add to the result list. So we have the search result list updating in realtime.

In order to correctly sort the results by scores, the percolate query should return a score that use the same idf as the initial query, so that the score can be compared to that of the other matched docs.

But according to this thread, it seems percolate query cannot get idf info. Is this still the case? Is there a way to do what I need?


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.