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
ConstructorDescriptionCompositeVerifyQuery
(Query indexQuery, ShapeValuesPredicate predicateValueSource) -
Method Summary
Modifier and TypeMethodDescriptioncreateWeight
(IndexSearcher searcher, ScoreMode scoreMode, float boost) boolean
int
hashCode()
rewrite
(IndexReader reader) void
visit
(QueryVisitor visitor) Methods inherited from class org.apache.lucene.search.Query
classHash, sameClassAs, toString
-
Constructor Details
-
CompositeVerifyQuery
-
-
Method Details
-
rewrite
- Overrides:
rewrite
in classQuery
- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
toString
-
visit
-
createWeight
public Weight createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) throws IOException - Overrides:
createWeight
in classQuery
- Throws:
IOException
-