java.lang.Object | |||
↳ | org.apache.lucene.index.TermEnum | ||
↳ | org.apache.lucene.search.FilteredTermEnum | ||
↳ | org.apache.lucene.search.WildcardTermEnum |
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.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
char | WILDCARD_CHAR | ||||||||||
char | WILDCARD_STRING | String equality with support for wildcards |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.lucene.search.FilteredTermEnum
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new
WildcardTermEnum . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Equality measure on the term
| |||||||||||
Indicates the end of the enumeration has been reached
| |||||||||||
Determines if a word matches a wildcard pattern.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Equality compare on the term
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.lucene.search.FilteredTermEnum
| |||||||||||
From class
org.apache.lucene.index.TermEnum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.io.Closeable
|
String equality with support for wildcards
Creates a new WildcardTermEnum
.
After calling the constructor the enumeration is already pointing to the first valid term if such a term exists.
IOException |
---|
Equality measure on the term
Indicates the end of the enumeration has been reached
Determines if a word matches a wildcard pattern. Work released by Granta Design Ltd after originally being done on company time.