Class CompositeVerifyQuery
java.lang.Object
org.apache.lucene.search.Query
org.apache.lucene.spatial.composite.CompositeVerifyQuery
A Query that considers an "indexQuery" to have approximate results, and a follow-on
ShapeValuesSource is called to verify each hit from
TwoPhaseIterator.matches().- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
Constructor Summary
ConstructorsConstructorDescriptionCompositeVerifyQuery(Query indexQuery, ShapeValuesPredicate predicateValueSource) -
Method Summary
Modifier and TypeMethodDescriptioncreateWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) booleaninthashCode()rewrite(IndexSearcher indexSearcher) voidvisit(QueryVisitor visitor) Methods inherited from class org.apache.lucene.search.Query
classHash, sameClassAs, toString
-
Constructor Details
-
CompositeVerifyQuery
-
-
Method Details
-
rewrite
- Overrides:
rewritein classQuery- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
toString
-
visit
-
createWeight
public Weight createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) throws IOException - Overrides:
createWeightin classQuery- Throws:
IOException
-