lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ameer Albahem <ameer.alba...@gmail.com>
Subject Is QueryRescoring API faster than a new search
Date Mon, 29 Jul 2019 13:23:40 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message