Class CompositeVerifyQuery
- java.lang.Object
-
- org.apache.lucene.search.Query
-
- org.apache.lucene.spatial.composite.CompositeVerifyQuery
-
public class CompositeVerifyQuery extends Query
A Query that considers an "indexQuery" to have approximate results, and a follow-on ShapeValuesSource is called to verify each hit fromTwoPhaseIterator.matches()
.- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
Constructor Summary
Constructors Constructor Description CompositeVerifyQuery(Query indexQuery, ShapeValuesPredicate predicateValueSource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Weight
createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost)
boolean
equals(Object other)
int
hashCode()
Query
rewrite(IndexSearcher indexSearcher)
String
toString(String field)
void
visit(QueryVisitor visitor)
-
Methods inherited from class org.apache.lucene.search.Query
classHash, rewrite, sameClassAs, toString
-
-
-
-
Constructor Detail
-
CompositeVerifyQuery
public CompositeVerifyQuery(Query indexQuery, ShapeValuesPredicate predicateValueSource)
-
-
Method Detail
-
rewrite
public Query rewrite(IndexSearcher indexSearcher) throws IOException
- Overrides:
rewrite
in classQuery
- Throws:
IOException
-
visit
public void visit(QueryVisitor visitor)
-
createWeight
public Weight createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) throws IOException
- Overrides:
createWeight
in classQuery
- Throws:
IOException
-
-