| org.apache.lucene.search.FilteredTermEnum org.apache.lucene.search.WildcardTermEnum
WildcardTermEnum | public class WildcardTermEnum extends FilteredTermEnum (Code) | | Subclass of FilteredTermEnum for enumerating all terms that match the
specified wildcard filter term.
Term enumerations are always ordered by Term.compareTo(). Each term in
the enumeration is greater than all that precede it.
version: $Id: WildcardTermEnum.java 472959 2006-11-09 16:21:50Z yonik $ |
WILDCARD_CHAR | final public static char WILDCARD_CHAR(Code) | | |
WILDCARD_STRING | final public static char WILDCARD_STRING(Code) | | String equality with support for wildcards
|
WildcardTermEnum | public WildcardTermEnum(IndexReader reader, Term term) throws IOException(Code) | | Creates a new WildcardTermEnum . Passing in a
org.apache.lucene.index.Term Term that does not contain a
WILDCARD_CHAR will cause an exception to be thrown.
After calling the constructor the enumeration is already pointing to the first
valid term if such a term exists.
|
difference | final public float difference()(Code) | | |
endEnum | final public boolean endEnum()(Code) | | |
termCompare | final protected boolean termCompare(Term term)(Code) | | |
wildcardEquals | final public static boolean wildcardEquals(String pattern, int patternIdx, String string, int stringIdx)(Code) | | Determines if a word matches a wildcard pattern.
Work released by Granta Design Ltd after originally being done on
company time.
|
|
|