TopNSearcher
constructor(fst: FST<T>, topN: Int, maxQueueDepth: Int, comparator: Comparator<T>, pathComparator: Comparator<Util.FSTPath<T>>)
Creates an unbounded TopNSearcher
Parameters
fst
the org.gnit.lucenekmp.util.fst.FST to search on
topN
the number of top scoring entries to retrieve
maxQueueDepth
the maximum size of the queue of possible top entries
comparator
the comparator to select the top N