SpanOrBuilder (Lucene 10.5.0 queryparser API)
Description: declaration: package: org.apache.lucene.queryparser.xml.builders, class: SpanOrBuilder

Package org.apache.lucene.queryparser.xml.builders

# Class SpanOrBuilder

java.lang.Object
org.apache.lucene.queryparser.xml.builders.SpanBuilderBase
org.apache.lucene.queryparser.xml.builders.SpanOrBuilder

All Implemented Interfaces:
  `SpanQueryBuilder`, `QueryBuilder`

public class SpanOrBuilder extends SpanBuilderBase
Builder for `SpanOrQuery`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SpanOrBuilder(SpanQueryBuilder factory)`

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### SpanOrBuilder

    public SpanOrBuilder(SpanQueryBuilder factory)

- ## Method Details

  - ### getSpanQuery

    public SpanQuery getSpanQuery(Element e) throws ParserException
    Throws:
      `ParserException`