A
Query that matches documents containing a subset of terms provided
by a
FilteredTermEnum enumeration.
MultiTermQuery is not designed to be used by itself.
The reason being that it is not intialized with a
FilteredTermEnum enumeration. A
FilteredTermEnum enumeration needs to be provided.
For example,
WildcardQuery and
FuzzyQuery extend
MultiTermQuery to provide
WildcardTermEnum and
FuzzyTermEnum , respectively.
|