QueryBuilder (Lucene 10.5.0 queryparser API)
Description: declaration: package: org.apache.lucene.queryparser.xml, interface: QueryBuilder

Package org.apache.lucene.queryparser.xml

# Interface QueryBuilder

All Known Subinterfaces:
  `SpanQueryBuilder`

All Known Implementing Classes:
  `BooleanQueryBuilder`, `BoostingTermBuilder`, `ConstantScoreQueryBuilder`, `CoreParser`, `CorePlusExtensionsParser`, `CorePlusQueriesParser`, `DisjunctionMaxQueryBuilder`, `FuzzyLikeThisQueryBuilder`, `LikeThisQueryBuilder`, `MatchAllDocsQueryBuilder`, `PointRangeQueryBuilder`, `QueryBuilderFactory`, `RangeQueryBuilder`, `SpanBuilderBase`, `SpanFirstBuilder`, `SpanNearBuilder`, `SpanNotBuilder`, `SpanOrBuilder`, `SpanOrTermsBuilder`, `SpanPositionRangeBuilder`, `SpanQueryBuilderFactory`, `SpanTermBuilder`, `TermQueryBuilder`, `TermsQueryBuilder`, `UserInputQueryBuilder`

public interface QueryBuilder
Implemented by objects that produce Lucene Query objects from XML streams. Implementations are expected to be thread-safe so that they can be used to simultaneously parse multiple XML documents.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Query`
  `getQuery(Element e)`

- ## Method Details

  - ### getQuery

    Query getQuery(Element e) throws ParserException
    Throws:
      `ParserException`