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
protected final SpanQuery match
public SpanWeight createWeight(IndexSearcher searcher, boolean needsScores) throws IOException
createWeight
in class SpanQuery
IOException
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.