Class BooleanQueryNodeBuilder
Builds a Lucene.Net.Search.BooleanQuery object from a BooleanQueryNode object. Every children in the BooleanQueryNode object must be already tagged using QUERY_TREE_BUILDER_TAGID with a Lucene.Net.Search.Query object.
It takes in consideration if the children is a ModifierQueryNode to define the Lucene.Net.Search.BooleanClause.
Inherited Members
Namespace: Lucene.Net.QueryParsers.Flexible.Standard.Builders
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class BooleanQueryNodeBuilder : IStandardQueryBuilder, IQueryBuilder<Query>
Constructors
BooleanQueryNodeBuilder()
Builds a Lucene.Net.Search.BooleanQuery object from a BooleanQueryNode object. Every children in the BooleanQueryNode object must be already tagged using QUERY_TREE_BUILDER_TAGID with a Lucene.Net.Search.Query object.
It takes in consideration if the children is a ModifierQueryNode to define the Lucene.Net.Search.BooleanClause.
Declaration
public BooleanQueryNodeBuilder()
Methods
Build(IQueryNode)
Builds some kind of object from a query tree.
Declaration
public virtual Query Build(IQueryNode queryNode)
Parameters
Type | Name | Description |
---|---|---|
IQueryNode | queryNode | the query tree root node |
Returns
Type | Description |
---|---|
Query | some object generated from the query tree |