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,
float boost) |
boolean |
equals(Object other) |
String |
getField() |
int |
hashCode() |
Query |
rewrite(IndexReader reader) |
String |
toString(String field) |
getTermContexts, getTermContextsclassHash, sameClassAs, toStringprotected final SpanQuery match
public SpanWeight createWeight(IndexSearcher searcher, boolean needsScores, float boost) throws IOException
createWeight in class SpanQueryIOExceptionpublic Query rewrite(IndexReader reader) throws IOException
rewrite in class QueryIOExceptionCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.