Class RemoveDeletedQueryNodesProcessor
A QueryNodeProcessorPipeline class removes every instance of DeletedQueryNode from a query node tree. If the resulting root node is a DeletedQueryNode, MatchNoDocsQueryNode is returned.
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)
System.Object.ToString()
Namespace: Lucene.Net.QueryParsers.Flexible.Core.Processors
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class RemoveDeletedQueryNodesProcessor : QueryNodeProcessor, IQueryNodeProcessor
Constructors
| Improve this Doc View SourceRemoveDeletedQueryNodesProcessor()
Declaration
public RemoveDeletedQueryNodesProcessor()
Methods
| Improve this Doc View SourcePostProcessNode(IQueryNode)
Declaration
protected override IQueryNode PostProcessNode(IQueryNode node)
Parameters
Type | Name | Description |
---|---|---|
IQueryNode | node |
Returns
Type | Description |
---|---|
IQueryNode |
Overrides
| Improve this Doc View SourcePreProcessNode(IQueryNode)
Declaration
protected override IQueryNode PreProcessNode(IQueryNode node)
Parameters
Type | Name | Description |
---|---|---|
IQueryNode | node |
Returns
Type | Description |
---|---|
IQueryNode |
Overrides
| Improve this Doc View SourceProcess(IQueryNode)
Declaration
public override IQueryNode Process(IQueryNode queryTree)
Parameters
Type | Name | Description |
---|---|---|
IQueryNode | queryTree |
Returns
Type | Description |
---|---|
IQueryNode |
Overrides
| Improve this Doc View SourceSetChildrenOrder(IList<IQueryNode>)
Declaration
protected override IList<IQueryNode> SetChildrenOrder(IList<IQueryNode> children)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<IQueryNode> | children |
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<IQueryNode> |