Constructor TopNSearcher
TopNSearcher(FST<T>, Int32, Int32, IComparer<T>)
Creates an unbounded TopNSearcher
Declaration
public TopNSearcher(FST<T> fst, int topN, int maxQueueDepth, IComparer<T> comparer)
Parameters
Type | Name | Description |
---|---|---|
FST<T> | fst | the FST<T> to search on |
System.Int32 | topN | the number of top scoring entries to retrieve |
System.Int32 | maxQueueDepth | the maximum size of the queue of possible top entries |
IComparer<T> | comparer | the comparer to select the top N |