SynonymQueryNodeBuilder (Lucene 10.5.1 queryparser API)
Description: declaration: package: org.apache.lucene.queryparser.flexible.standard.builders, class: SynonymQueryNodeBuilder

Package org.apache.lucene.queryparser.flexible.standard.builders

# Class SynonymQueryNodeBuilder

java.lang.Object
org.apache.lucene.queryparser.flexible.standard.builders.SynonymQueryNodeBuilder

All Implemented Interfaces:
  `QueryBuilder`, `StandardQueryBuilder`

public class SynonymQueryNodeBuilder extends Object implements StandardQueryBuilder
Builder for `SynonymQueryNode`.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SynonymQueryNodeBuilder()`
  Sole constructor.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Query`
  `build(QueryNode queryNode)`
  Builds some kind of object from a query tree.

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

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

- ## Constructor Details

  - ### SynonymQueryNodeBuilder

    public SynonymQueryNodeBuilder()
    Sole constructor.

- ## Method Details

  - ### build

    public Query build(QueryNode queryNode) throws QueryNodeException
    Description copied from interface: `QueryBuilder`
    Builds some kind of object from a query tree.
    Specified by:
      `build` in interface `QueryBuilder`
    Specified by:
      `build` in interface `StandardQueryBuilder`
    Parameters:
      `queryNode` - the query tree root node
    Returns:
      some object generated from the query tree
    Throws:
      `QueryNodeException`