Class NumericRangeQueryNode
This query node represents a range query composed by NumericQueryNode bounds, which means the bound values are System.Objects representing a .NET numeric type.
Implements
Inherited Members
Namespace: Lucene.Net.QueryParsers.Flexible.Standard.Nodes
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class NumericRangeQueryNode : AbstractRangeQueryNode<NumericQueryNode>, IAbstractRangeQueryNode, IRangeQueryNode<IFieldableNode>, IRangeQueryNode, IFieldableNode, IQueryNode
Constructors
| Improve this Doc View SourceNumericRangeQueryNode(NumericQueryNode, NumericQueryNode, Boolean, Boolean, NumericConfig)
Constructs a NumericRangeQueryNode object using the given NumericQueryNode as its bounds and NumericConfig.
Declaration
public NumericRangeQueryNode(NumericQueryNode lower, NumericQueryNode upper, bool lowerInclusive, bool upperInclusive, NumericConfig numericConfig)
Parameters
Type | Name | Description |
---|---|---|
NumericQueryNode | lower | the lower bound |
NumericQueryNode | upper | the upper bound |
System.Boolean | lowerInclusive |
|
System.Boolean | upperInclusive |
|
NumericConfig | numericConfig | the NumericConfig that represents associated with the upper and lower bounds |
See Also
Properties
| Improve this Doc View SourceNumericConfig
Gets the NumericConfig associated with the lower and upper bounds.
Declaration
public virtual NumericConfig NumericConfig { get; set; }
Property Value
Type | Description |
---|---|
NumericConfig |
Methods
| Improve this Doc View SourceSetBounds(NumericQueryNode, NumericQueryNode, Boolean, Boolean, NumericConfig)
Sets the upper and lower bounds of this range query node and the NumericConfig associated with these bounds.
Declaration
public virtual void SetBounds(NumericQueryNode lower, NumericQueryNode upper, bool lowerInclusive, bool upperInclusive, NumericConfig numericConfig)
Parameters
Type | Name | Description |
---|---|---|
NumericQueryNode | lower | the lower bound |
NumericQueryNode | upper | the upper bound |
System.Boolean | lowerInclusive |
|
System.Boolean | upperInclusive |
|
NumericConfig | numericConfig | the NumericConfig that represents associated with the upper and lower bounds |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |