Package | Description |
---|---|
org.apache.lucene.util.fst |
Finite state transducers
|
Modifier and Type | Field and Description |
---|---|
private java.util.Comparator<Util.FSTPath<T>> |
Util.TopNSearcher.pathComparator |
(package private) java.util.TreeSet<Util.FSTPath<T>> |
Util.TopNSearcher.queue |
Modifier and Type | Method and Description |
---|---|
Util.FSTPath<T> |
Util.FSTPath.newPath(T output,
IntsRefBuilder input) |
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) |
int |
Util.TieBreakByInputComparator.compare(Util.FSTPath<T> a,
Util.FSTPath<T> b) |
int |
Util.TieBreakByInputComparator.compare(Util.FSTPath<T> a,
Util.FSTPath<T> b) |
Constructor and Description |
---|
TopNSearcher(FST<T> fst,
int topN,
int maxQueueDepth,
java.util.Comparator<T> comparator,
java.util.Comparator<Util.FSTPath<T>> pathComparator) |