Class NumericRangeQueryNodeProcessor
This processor is used to convert TermRangeQueryNodes to NumericRangeQueryNodes. It looks for NUMERIC_CONFIG set in the FieldConfig of every TermRangeQueryNode found. If NUMERIC_CONFIG is found, it considers that TermRangeQueryNode to be a numeric range query and convert it to NumericRangeQueryNode.
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.Standard.Processors
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class NumericRangeQueryNodeProcessor : QueryNodeProcessor, IQueryNodeProcessor
Constructors
| Improve this Doc View SourceNumericRangeQueryNodeProcessor()
Constructs an empty NumericRangeQueryNode object.
Declaration
public NumericRangeQueryNodeProcessor()
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 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> |