Namespace Lucene.Net.QueryParsers.Flexible.Core
Core classes of the flexible query parser framework.
Flexible Query Parser
This namespace contains the necessary classes to implement a query parser.
A query parser is divided in at least 2 phases, text parsing and query building, and one optional phase called query processing.
First Phase: Text Parsing
The text parsing phase is performed by a text parser, which implements ISyntax
Second (optional) Phase: Query Processing
The query processing phase is performed by a query processor, which implements Query
Third Phase: Query Building
The query building phase is performed by a query builder, which implements <xref:Lucene.Net.QueryParsers.Flexible.Core.Builders.IQueryBuilder{Lucene.Net.QueryParsers.Flexible.Core.Nodes.IQueryNode}>. A query builder is responsible to convert a IQuery
Classes
QueryNodeError
A query node error.
QueryNodeException
This exception should be thrown if something wrong happens when dealing with
IQuery
QueryNodeParseException
This should be thrown when an exception happens during the query parsing from string to the query node tree.
QueryParserHelper<TQuery>
This class is a helper for the query parser framework, it does all the three query parser phrases at once: text parsing, query processing and query building.
It contains methods that allows the user to change the implementation used on the three phases.