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

- Packages that use SpanNearQuery
  Package | Description
  --- | ---
  org.apache.lucene.search.payloads | The payloads package provides Query mechanisms for finding and using payloads.
  org.apache.lucene.search.spans | The calculus of spans.

- - ### Uses of SpanNearQuery in org.apache.lucene.search.payloads

    Subclasses of SpanNearQuery in org.apache.lucene.search.payloads
    Modifier and Type | Class and Description
    --- | ---
    `class` | `PayloadNearQuery` This class is very similar to `SpanNearQuery` except that it factors in the value of the payloads located at each of the positions where the `TermSpans` occurs.

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

    Constructors in org.apache.lucene.search.spans with parameters of type SpanNearQuery
    Constructor and Description
    `NearSpansOrdered(SpanNearQuery spanNearQuery, IndexReader reader)`
    `NearSpansOrdered(SpanNearQuery spanNearQuery, IndexReader reader, boolean collectPayloads)`
    `NearSpansUnordered(SpanNearQuery query, IndexReader reader)`

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.