Hi all,
Given a new query (finalQuery), I am trying to rescore the top 1000
documents that match an original query using the QueryRescore API. To my
surprise, if we run the new query using a new search such as:
searcher.search(finalQuery,1000)
then it is faster than using the rescoring API:
QueryRescorer.rescore(searcher,topDocs,finalQuery,1,1000)
Is this normal or expected? if yes, then how can we make the rescoring
process faster than a new search?
Regards
Ameer
Given a new query (finalQuery), I am trying to rescore the top 1000
documents that match an original query using the QueryRescore API. To my
surprise, if we run the new query using a new search such as:
searcher.search(finalQuery,1000)
then it is faster than using the rescoring API:
QueryRescorer.rescore(searcher,topDocs,finalQuery,1,1000)
Is this normal or expected? if yes, then how can we make the rescoring
process faster than a new search?
Regards
Ameer