org.apache.lucene.queryparser.xml.builders

## Class SpanNearBuilder

- java.lang.Object
- - org.apache.lucene.queryparser.xml.builders.SpanBuilderBase
  - - org.apache.lucene.queryparser.xml.builders.SpanNearBuilder

- All Implemented Interfaces:
    SpanQueryBuilder, QueryBuilder

      public class SpanNearBuilder
      extends SpanBuilderBase

  Builder for `SpanNearQuery`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SpanNearBuilder(SpanQueryBuilder factory)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `SpanQuery` | `getSpanQuery(Element e)`

    - ### Methods inherited from class org.apache.lucene.queryparser.xml.builders.SpanBuilderBase

      `getQuery`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SpanNearBuilder

          public SpanNearBuilder(SpanQueryBuilder factory)

  - ### Method Detail

    - #### getSpanQuery

          public SpanQuery getSpanQuery(Element e)
                                 throws ParserException

      Throws:
        `ParserException`

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