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,
ScoreMode scoreMode,
float boost) |
boolean |
equals(Object other) |
String |
getField() |
int |
hashCode() |
Query |
rewrite(IndexReader reader) |
String |
toString(String field) |
void |
visit(QueryVisitor visitor) |
getTermStates, getTermStatesclassHash, sameClassAs, toStringprotected final SpanQuery match
public SpanWeight createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) throws IOException
createWeight in class SpanQueryIOExceptionpublic Query rewrite(IndexReader reader) throws IOException
rewrite in class QueryIOExceptionpublic void visit(QueryVisitor visitor)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.