public class RegexTermEnum
extends org.apache.lucene.search.FilteredTermEnum
Term enumerations are always ordered by Term.compareTo(). Each term in the enumeration is greater than all that precede it.
Constructor and Description |
---|
RegexTermEnum(org.apache.lucene.index.IndexReader reader,
org.apache.lucene.index.Term term,
RegexCapabilities regexImpl) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
float |
difference() |
boolean |
endEnum() |
protected boolean |
termCompare(org.apache.lucene.index.Term term) |
public RegexTermEnum(org.apache.lucene.index.IndexReader reader, org.apache.lucene.index.Term term, RegexCapabilities regexImpl) throws IOException
IOException
protected final boolean termCompare(org.apache.lucene.index.Term term)
termCompare
in class org.apache.lucene.search.FilteredTermEnum
public final float difference()
difference
in class org.apache.lucene.search.FilteredTermEnum
public final boolean endEnum()
endEnum
in class org.apache.lucene.search.FilteredTermEnum
public void close() throws IOException
close
in interface Closeable
close
in class org.apache.lucene.search.FilteredTermEnum
IOException