public class SpanNearPayloadCheckQuery extends SpanPositionCheckQuery
Constructor and Description |
---|
SpanNearPayloadCheckQuery(SpanNearQuery match,
Collection<byte[]> payloadToMatch) |
Modifier and Type | Method and Description |
---|---|
SpanNearPayloadCheckQuery |
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, rewrite
createWeight
public SpanNearPayloadCheckQuery(SpanNearQuery match, Collection<byte[]> payloadToMatch)
match
- The underlying SpanQuery
to checkpayloadToMatch
- The Collection
of payloads to matchpublic String toString(String field)
Query
field
assumed to be the
default field and omitted.public SpanNearPayloadCheckQuery clone()
Query
Copyright © 2010 - 2020 Adobe. All Rights Reserved