java.lang.Objectorg.apache.lucene.index.TermEnum
Direct Known Subclasses:
FilterTermEnum, SegmentTermEnum, ParallelTermEnum, FilteredTermEnum, FuzzyTermEnum, WildcardTermEnum, RegexTermEnum, MultiTermEnum
Term enumerations are always ordered by Term.compareTo(). Each term in the enumeration is greater than all that precede it.
| Method from org.apache.lucene.index.TermEnum Summary: |
|---|
| close, docFreq, next, skipTo, term |
| Methods from java.lang.Object: |
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from org.apache.lucene.index.TermEnum Detail: |
|---|
|
|
|
Returns true iff there is such an entry. Behaves as if written:
public boolean skipTo(Term target) {
do {
if (!next())
return false;
} while (target > term());
return true;
}
Some implementations are considerably more efficient than that. |
|