public class SpanPayloadCheckQuery extends SpanQuery
| Modifier and Type | Class and Description |
|---|---|
class |
SpanPayloadCheckQuery.SpanPayloadCheckWeight
Weight that pulls its Spans using a PayloadSpanCollector
|
| Modifier and Type | Field and Description |
|---|---|
protected SpanQuery |
match |
protected List<BytesRef> |
payloadToMatch |
| Constructor and Description |
|---|
SpanPayloadCheckQuery(SpanQuery match,
List<BytesRef> payloadToMatch) |
| Modifier and Type | Method and Description |
|---|---|
SpanWeight |
createWeight(IndexSearcher searcher,
boolean needsScores) |
boolean |
equals(Object o) |
String |
getField() |
int |
hashCode() |
String |
toString(String field) |
getTermContexts, getTermContexts, rewriteprotected final SpanQuery match
public SpanWeight createWeight(IndexSearcher searcher, boolean needsScores) throws IOException
createWeight in class SpanQueryIOExceptionCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.