Package org.apache.lucene.search.spans
Class SpanNearPayloadCheckQuery
java.lang.Object
org.apache.lucene.search.Query
org.apache.lucene.search.spans.SpanQuery
org.apache.lucene.search.spans.SpanPositionCheckQuery
org.apache.lucene.search.spans.SpanNearPayloadCheckQuery
- All Implemented Interfaces:
Cloneable
Only return those matches that have a specific payload at
the given position.
-
Constructor Summary
ConstructorsConstructorDescriptionSpanNearPayloadCheckQuery
(SpanNearQuery match, Collection<byte[]> payloadToMatch) -
Method Summary
Methods inherited from class org.apache.lucene.search.spans.SpanPositionCheckQuery
extractTerms, getField, getMatch, getSpans, rewrite
Methods inherited from class org.apache.lucene.search.spans.SpanQuery
createWeight
-
Constructor Details
-
SpanNearPayloadCheckQuery
- Parameters:
match
- The underlyingSpanQuery
to checkpayloadToMatch
- TheCollection
of payloads to match
-
-
Method Details