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