org.apache.lucene.util.fst
Constructor and Description |
---|
Util.TopNSearcher(FST<T> fst,
int topN,
int maxQueueDepth,
Comparator<T> comparator) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
acceptResult(IntsRef input,
T output) |
protected void |
addIfCompetitive(Util.FSTPath<T> path) |
void |
addStartPaths(FST.Arc<T> node,
T startOutput,
boolean allowEmptyString,
IntsRef input)
Adds all leaving arcs, including 'finished' arc, if
the node is final, from this node into the queue.
|
Util.MinResult<T>[] |
search() |
public Util.TopNSearcher(FST<T> fst, int topN, int maxQueueDepth, Comparator<T> comparator)
protected void addIfCompetitive(Util.FSTPath<T> path)
public void addStartPaths(FST.Arc<T> node, T startOutput, boolean allowEmptyString, IntsRef input) throws IOException
IOException
public Util.MinResult<T>[] search() throws IOException
IOException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.