## Uses of Class
org.apache.lucene.queries.spans.SpanNearQuery.Builder

- Packages that use SpanNearQuery.Builder
  Package | Description
  --- | ---
  org.apache.lucene.queries.spans | The calculus of spans.

- - ### Uses of SpanNearQuery.Builder in org.apache.lucene.queries.spans

    Methods in org.apache.lucene.queries.spans that return SpanNearQuery.Builder
    Modifier and Type | Method | 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