Class StandardQueryTreeBuilder
This query tree builder only defines the necessary map to build a Lucene.Net.Search.Query tree object. It should be used to generate a Lucene.Net.Search.Query tree object from a query node tree processed by a StandardQueryNodeProcessorPipeline.
Inherited Members
Namespace: Lucene.Net.QueryParsers.Flexible.Standard.Builders
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class StandardQueryTreeBuilder : QueryTreeBuilder<Query>, IStandardQueryBuilder, IQueryBuilder<Query>
Constructors
StandardQueryTreeBuilder()
This query tree builder only defines the necessary map to build a Lucene.Net.Search.Query tree object. It should be used to generate a Lucene.Net.Search.Query tree object from a query node tree processed by a StandardQueryNodeProcessorPipeline.
Declaration
public StandardQueryTreeBuilder()
See Also
Methods
Build(IQueryNode)
Builds some kind of object from a query tree. Each node in the query tree is built using an specific builder associated to it.
Declaration
public override Query Build(IQueryNode queryNode)
Parameters
Type | Name | Description |
---|---|---|
IQueryNode | queryNode | the query tree root node |
Returns
Type | Description |
---|---|
Query | the built object |
Overrides
Exceptions
Type | Condition |
---|---|
QueryNodeException | if some node builder throws a QueryNodeException or if there is a node which had no builder associated to it |