Package org.apache.lucene.search
Class DocValuesRewriteMethod
- java.lang.Object
-
- org.apache.lucene.search.MultiTermQuery.RewriteMethod
-
- org.apache.lucene.search.DocValuesRewriteMethod
-
public final class DocValuesRewriteMethod extends MultiTermQuery.RewriteMethod
Rewrites MultiTermQueries into a filter, using DocValues for term enumeration.This can be used to perform these queries against an unindexed docvalues field.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
DocValuesRewriteMethod.MultiTermQueryDocValuesWrapper
-
Constructor Summary
Constructors Constructor Description DocValuesRewriteMethod()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
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
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-