public final class SpanContainingQuery extends SpanContainQuery
| Modifier and Type | Class and Description |
|---|---|
class |
SpanContainingQuery.SpanContainingWeight |
SpanContainQuery.SpanContainWeightbig, little| Constructor and Description |
|---|
SpanContainingQuery(SpanQuery big,
SpanQuery little)
Construct a SpanContainingQuery matching spans from
big
that contain at least one spans from little. |
| Modifier and Type | Method and Description |
|---|---|
SpanWeight |
createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost)
Expert: Constructs an appropriate Weight implementation for this query.
|
java.lang.String |
toString(java.lang.String field)
Prints a query to a string, with
field assumed to be the
default field and omitted. |
equals, getBig, getField, getLittle, hashCode, rewrite, toString, visitgetTermStates, getTermStatesclassHash, sameClassAs, toStringpublic java.lang.String toString(java.lang.String field)
Queryfield assumed to be the
default field and omitted.public SpanWeight createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) throws java.io.IOException
QueryOnly implemented by primitive queries, which re-write to themselves.
createWeight in class SpanQueryscoreMode - How the produced scorers will be consumed.boost - The boost that is propagated by the parent queries.java.io.IOException