Class PrecedenceQueryParser
This query parser works exactly as the standard query parser ( StandardQueryParser ), except that it respect the boolean precedence, so <a AND b OR c AND d> is parsed to <(+a +b) (+c +d)> instead of <+a +b +c +d>.
EXPERT: This class extends StandardQueryParser, but uses PrecedenceQueryNodeProcessorPipeline instead of StandardQueryNodeProcessorPipeline to process the query tree.
Implements
Inherited Members
Namespace: Lucene.Net.QueryParsers.Flexible.Precedence
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class PrecedenceQueryParser : StandardQueryParser, ICommonQueryParserConfiguration
Constructors
PrecedenceQueryParser()
Declaration
public PrecedenceQueryParser()
See Also
PrecedenceQueryParser(Analyzer)
Declaration
public PrecedenceQueryParser(Analyzer analyer)
Parameters
Type | Name | Description |
---|---|---|
Analyzer | analyer |