Package org.apache.lucene.search
Class FieldCacheRewriteMethod
- java.lang.Object
-
- org.apache.lucene.search.MultiTermQuery.RewriteMethod
-
- org.apache.lucene.search.FieldCacheRewriteMethod
-
public final class FieldCacheRewriteMethod extends MultiTermQuery.RewriteMethod
Rewrites MultiTermQueries into a filter, using the FieldCache for term enumeration.This can be used to perform these queries against an unindexed docvalues field.
-
-
Constructor Summary
Constructors Constructor Description FieldCacheRewriteMethod()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
hashCode()
Query
rewrite(IndexReader reader, MultiTermQuery query)
-
Methods inherited from class org.apache.lucene.search.MultiTermQuery.RewriteMethod
getTermsEnum
-
-
-
-
Method Detail
-
rewrite
public Query rewrite(IndexReader reader, MultiTermQuery query)
- Specified by:
rewrite
in classMultiTermQuery.RewriteMethod
-
-