org.apache.lucene.search.regex
Class RegexTermEnum
public class RegexTermEnum
Subclass of FilteredTermEnum for enumerating all terms that match the
specified regular expression term using the specified regular expression
implementation.
Term enumerations are always ordered by Term.compareTo(). Each term in
the enumeration is greater than all that precede it.
void | close() - Closes the enumeration to further activity, freeing resources.
|
float | difference() - Equality measure on the term
|
boolean | endEnum() - Indiciates the end of the enumeration has been reached
|
protected boolean | termCompare(Term term) - Equality compare on the term
|
RegexTermEnum
public RegexTermEnum(IndexReader reader,
Term term,
org.apache.lucene.search.regex.RegexCapabilities regexImpl)
throws IOException
close
public void close()
throws IOException
Closes the enumeration to further activity, freeing resources.
- close in interface FilteredTermEnum
endEnum
public final boolean endEnum()
Indiciates the end of the enumeration has been reached
- endEnum in interface FilteredTermEnum
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.