Class RemoveEmptyNonLeafQueryNodeProcessor
  
  This processor removes every IQueryNode that is not a leaf and has not
children. If after processing the entire tree the root node is not a leaf and
has no children, a MatchNoDocsQueryNode object is returned.
This processor is used at the end of a pipeline to avoid invalid query node
tree structures like a GroupQueryNode or ModifierQueryNode
with no children.
 
  
  
    Inheritance
    System.Object
    
    RemoveEmptyNonLeafQueryNodeProcessor
   
  
  
  
  Assembly: Lucene.Net.QueryParser.dll
  Syntax
  
    public class RemoveEmptyNonLeafQueryNodeProcessor : QueryNodeProcessor, IQueryNodeProcessor
   
  Constructors
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  RemoveEmptyNonLeafQueryNodeProcessor()
  
  
  Declaration
  
    public RemoveEmptyNonLeafQueryNodeProcessor()
   
  Methods
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  PostProcessNode(IQueryNode)
  
  
  Declaration
  
    protected override IQueryNode PostProcessNode(IQueryNode node)
   
  Parameters
  
  Returns
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  PreProcessNode(IQueryNode)
  
  
  Declaration
  
    protected override IQueryNode PreProcessNode(IQueryNode node)
   
  Parameters
  
  Returns
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Process(IQueryNode)
  
  
  Declaration
  
    public override IQueryNode Process(IQueryNode queryTree)
   
  Parameters
  
  Returns
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  SetChildrenOrder(IList<IQueryNode>)
  
  
  Declaration
  
    protected override IList<IQueryNode> SetChildrenOrder(IList<IQueryNode> children)
   
  Parameters
  
  Returns
  
  Overrides
  
  Implements
  
  See Also