public class SpanPayloadCheckQuery extends SpanPositionCheckQuery
SpanNearQuery. Instead, use
SpanNearPayloadCheckQuery since it properly handles the fact that payloads
aren't ordered by SpanNearQuery.| Constructor and Description |
|---|
SpanPayloadCheckQuery(SpanQuery match,
Collection<byte[]> payloadToMatch) |
| Modifier and Type | Method and Description |
|---|---|
SpanPayloadCheckQuery |
clone()
Returns a clone of this query.
|
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString(String field)
Prints a query to a string, with
field assumed to be the
default field and omitted. |
extractTerms, getField, getMatch, getSpans, rewritecreateWeightpublic SpanPayloadCheckQuery(SpanQuery match, Collection<byte[]> payloadToMatch)
match - The underlying SpanQuery to checkpayloadToMatch - The Collection of payloads to matchpublic String toString(String field)
Queryfield assumed to be the
default field and omitted.public SpanPayloadCheckQuery clone()
QueryCopyright © 2010 - 2020 Adobe. All Rights Reserved