public final class SpanWithinQuery extends SpanContainQuery
Modifier and Type | Class and Description |
---|---|
class |
SpanWithinQuery.SpanWithinWeight |
SpanContainQuery.SpanContainWeight
big, little
Constructor and Description |
---|
SpanWithinQuery(SpanQuery big,
SpanQuery little)
Construct a SpanWithinQuery matching spans from
little
that are inside of big . |
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, visit
getTermStates, getTermStates
classHash, sameClassAs, toString
public java.lang.String toString(java.lang.String field)
Query
field
assumed to be the
default field and omitted.public SpanWeight createWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) throws java.io.IOException
Query
Only implemented by primitive queries, which re-write to themselves.
createWeight
in class SpanQuery
scoreMode
- How the produced scorers will be consumed.boost
- The boost that is propagated by the parent queries.java.io.IOException