Package | Description |
---|---|
org.apache.lucene.util.fst |
Finite state transducers
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
Util.TopNSearcher.acceptPartialPath(Util.FSTPath<T> path)
Override this to prevent considering a path before it's complete
|
protected boolean |
Util.TopNSearcher.acceptResult(Util.FSTPath<T> path) |
protected void |
Util.TopNSearcher.addIfCompetitive(Util.FSTPath<T> path) |
Constructor and Description |
---|
TopNSearcher(FST<T> fst,
int topN,
int maxQueueDepth,
Comparator<T> comparator,
Comparator<Util.FSTPath<T>> pathComparator) |
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.