org.apache.lucene.queryparser.flexible.standard.builders (Lucene 10.5.0 queryparser API)
Description: declaration: package: org.apache.lucene.queryparser.flexible.standard.builders

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

package org.apache.lucene.queryparser.flexible.standard.builders
Standard Lucene Query Node Builders.

## Standard Lucene Query Node Builders

The package org.apache.lucene.queryparser.flexible.standard.builders contains all the builders needed to build a Lucene Query object from a query node tree. These builders expect the query node tree was already processed by the `StandardQueryNodeProcessorPipeline`.

`StandardQueryTreeBuilder` is a builder that already contains a defined map that maps each QueryNode object with its respective builder.

- Related Packages
  Package
  Description
  org.apache.lucene.queryparser.flexible.standard
  Lucene Flexible Query Parser Implementation
  org.apache.lucene.queryparser.flexible.standard.config
  Standard Lucene Query Configuration.
  org.apache.lucene.queryparser.flexible.standard.nodes
  Standard Lucene Query Nodes.
  org.apache.lucene.queryparser.flexible.standard.parser
  Lucene Query Parser
  org.apache.lucene.queryparser.flexible.standard.processors
  Lucene Query Node Processors.
- Class
  Description
  AnyQueryNodeBuilder
  Builds a BooleanQuery of SHOULD clauses, possibly with some minimum number to match.
  BooleanQueryNodeBuilder
  Builds a `BooleanQuery` object from a `BooleanQueryNode` object.
  BoostQueryNodeBuilder
  This builder basically reads the `Query` object set on the `BoostQueryNode` child using `QueryTreeBuilder.QUERY_TREE_BUILDER_TAGID` and applies the boost value defined in the `BoostQueryNode`.
  DummyQueryNodeBuilder
  This builder does nothing.
  FieldQueryNodeBuilder
  Builds a `TermQuery` object from a `FieldQueryNode` object.
  FuzzyQueryNodeBuilder
  Builds a `FuzzyQuery` object from a `FuzzyQueryNode` object.
  GroupQueryNodeBuilder
  Builds no object, it only returns the `Query` object set on the `GroupQueryNode` object using a `QueryTreeBuilder.QUERY_TREE_BUILDER_TAGID` tag.
  IntervalQueryNodeBuilder
  Builds a `Query` from an `IntervalQueryNode`.
  MatchAllDocsQueryNodeBuilder
  Builds a `MatchAllDocsQuery` object from a `MatchAllDocsQueryNode` object.
  MatchNoDocsQueryNodeBuilder
  Builds a `MatchNoDocsQuery` object from a `MatchNoDocsQueryNode` object.
  MinShouldMatchNodeBuilder
  Builds a `BooleanQuery` from a `MinShouldMatchNode`.
  ModifierQueryNodeBuilder
  Builds no object, it only returns the `Query` object set on the `ModifierQueryNode` object using a `QueryTreeBuilder.QUERY_TREE_BUILDER_TAGID` tag.
  MultiPhraseQueryNodeBuilder
  Builds a `MultiPhraseQuery` object from a `MultiPhraseQueryNode` object.
  PhraseQueryNodeBuilder
  Builds a `PhraseQuery` object from a `TokenizedPhraseQueryNode` object.
  PointRangeQueryNodeBuilder
  Builds `PointValues` range queries out of `PointRangeQueryNode`s.
  PrefixWildcardQueryNodeBuilder
  Builds a `PrefixQuery` object from a `PrefixWildcardQueryNode` object.
  RegexpQueryNodeBuilder
  Builds a `RegexpQuery` object from a `RegexpQueryNode` object.
  SlopQueryNodeBuilder
  This builder basically reads the `Query` object set on the `SlopQueryNode` child using `QueryTreeBuilder.QUERY_TREE_BUILDER_TAGID` and applies the slop value defined in the `SlopQueryNode`.
  StandardQueryBuilder
  This interface should be implemented by every class that wants to build `Query` objects from `QueryNode` objects.
  StandardQueryTreeBuilder
  This query tree builder only defines the necessary map to build a `Query` tree object.
  SynonymQueryNodeBuilder
  Builder for `SynonymQueryNode`.
  TermRangeQueryNodeBuilder
  Builds a `TermRangeQuery` object from a `TermRangeQueryNode` object.
  WildcardQueryNodeBuilder
  Builds a `WildcardQuery` object from a `WildcardQueryNode` object.