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

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

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

    Methods in org.apache.lucene.search.spans that return SpanNearQuery.Builder
    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-2017 Apache Software Foundation. All Rights Reserved.