Package | Description |
---|---|
org.apache.lucene.search.spans |
The calculus of spans.
|
Modifier and Type | Method and Description |
---|---|
SpanNearQuery.Builder |
SpanNearQuery.Builder.addClause(SpanQuery clause)
Add a new clause
|
SpanNearQuery.Builder |
SpanNearQuery.Builder.addGap(int width)
Add a gap after the previous clause of a defined width
|
static SpanNearQuery.Builder |
SpanNearQuery.newOrderedNearQuery(String field)
Returns a
SpanNearQuery.Builder for an ordered query on a particular field |
static SpanNearQuery.Builder |
SpanNearQuery.newUnorderedNearQuery(String field)
Returns a
SpanNearQuery.Builder for an unordered query on a particular field |
SpanNearQuery.Builder |
SpanNearQuery.Builder.setSlop(int slop)
Set the slop for this query
|
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.