Class NumericQueryNodeProcessor
This processor is used to convert FieldQueryNodes to NumericRangeQueryNodes. It looks for NUMERIC_CONFIG set in the FieldConfig of every FieldQueryNode found. If NUMERIC_CONFIG is found, it considers that FieldQueryNode to be a numeric query and convert it to NumericRangeQueryNode with upper and lower inclusive and lower and upper equals to the value represented by the FieldQueryNode converted to System.Object representing a .NET numeric type. It means that field:1 is converted to field:[1 TO 1].
Note that FieldQueryNodes children of a IRangeQueryNode are ignored.
Inherited Members
System.Object.ToString()
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 NumericQueryNodeProcessor : QueryNodeProcessor, IQueryNodeProcessor
Constructors
Name | Description |
---|---|
NumericQueryNodeProcessor() | Constructs a NumericQueryNodeProcessor object. |
Methods
Name | Description |
---|---|
PostProcessNode(IQueryNode) | |
PreProcessNode(IQueryNode) | |
SetChildrenOrder(IList<IQueryNode>) |