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, getTermStates
classHash, sameClassAs, toString
protected final SpanQuery match
public SpanWeight createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) throws IOException
createWeight
in class SpanQuery
IOException
public Query rewrite(IndexReader reader) throws IOException
rewrite
in class Query
IOException
public void visit(QueryVisitor visitor)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.