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

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

# Class TermsQueryBuilder

java.lang.Object
org.apache.lucene.queryparser.xml.builders.TermsQueryBuilder

All Implemented Interfaces:
  `QueryBuilder`

public class TermsQueryBuilder extends Object implements QueryBuilder
Builds a BooleanQuery from all of the terms found in the XML element using the choice of analyzer

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TermsQueryBuilder(Analyzer analyzer)`

- ## Method Summary

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

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

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

- ## Constructor Details

  - ### TermsQueryBuilder

    public TermsQueryBuilder(Analyzer analyzer)

- ## Method Details

  - ### getQuery

    public Query getQuery(Element e) throws ParserException
    Specified by:
      `getQuery` in interface `QueryBuilder`
    Throws:
      `ParserException`