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.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Lucene.Net.QueryParser.dll
Syntax
[Serializable]
public class PrecedenceQueryParser : StandardQueryParser, ICommonQueryParserConfiguration
Constructors
Name | Description |
---|---|
PrecedenceQueryParser() | StandardQueryParser() |
PrecedenceQueryParser(Analyzer) | StandardQueryParser(Analyzer) |