Class NumericQueryNode
This query node represents a field query that holds a numeric value. It is similar to FieldQueryNode, however the Value returns an System.Object representing a .NET numeric type.
Inherited Members
Assembly: Lucene.Net.QueryParser.dll
Syntax
[Serializable]
public class NumericQueryNode : QueryNode, IFieldValuePairQueryNode<object>, IFieldableNode, IValueQueryNode<object>, IQueryNode
Constructors
Name | Description |
---|---|
NumericQueryNode(String, Object, NumberFormat) | Creates a NumericQueryNode object using the given field, System.Object (representing a .NET numeric type) value and NumberFormat used to convert the value to System.String. |
Properties
Name | Description |
---|---|
Field | Gets or Sets the field associated with this node. |
NumberFormat | Gets or Sets the NumberFormat used to convert the value to System.String. |
Value | Gets or Sets the numeric value as System.Object representing a .NET numeric type. |
Methods
Name | Description |
---|---|
GetTermEscaped(IEscapeQuerySyntax) | This method is used to get the value converted to System.String and escaped using the given IEscapeQuerySyntax. |
ToQueryString(IEscapeQuerySyntax) | |
ToString() |