rescore
Rescore an initial first-pass TopDocs.
Parameters
searcher
IndexSearcher used to produce the first pass topDocs
firstPassTopDocs
Hits from the first pass search. It's very important that these hits were produced by the provided searcher; otherwise the doc IDs will not match!
topN
How many re-scored hits to return