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
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
  Namespace: Lucene.Net.QueryParsers.Flexible.Precedence
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class PrecedenceQueryParser : StandardQueryParser, ICommonQueryParserConfiguration
  Constructors
| Improve this Doc View SourcePrecedenceQueryParser()
Declaration
public PrecedenceQueryParser()
  PrecedenceQueryParser(Analyzer)
Declaration
public PrecedenceQueryParser(Analyzer analyer)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Lucene.Net.Analysis.Analyzer | analyer |