Show / Hide Table of Contents

    Class NumericRangeQueryNode

    This query node represents a range query composed by NumericQueryNode bounds, which means the bound values are s representing a .NET numeric type.

    Inheritance
    System.Object
    QueryNode
    AbstractRangeQueryNode<NumericQueryNode>
    NumericRangeQueryNode
    Implements
    IAbstractRangeQueryNode
    IRangeQueryNode<IFieldableNode>
    IRangeQueryNode
    IFieldableNode
    IQueryNode
    Inherited Members
    AbstractRangeQueryNode<NumericQueryNode>.Field
    AbstractRangeQueryNode<NumericQueryNode>.LowerBound
    AbstractRangeQueryNode<NumericQueryNode>.UpperBound
    AbstractRangeQueryNode<NumericQueryNode>.IsLowerInclusive
    AbstractRangeQueryNode<NumericQueryNode>.IsUpperInclusive
    AbstractRangeQueryNode<NumericQueryNode>.SetBounds(NumericQueryNode, NumericQueryNode, Boolean, Boolean)
    AbstractRangeQueryNode<NumericQueryNode>.ToQueryString(IEscapeQuerySyntax)
    QueryNode.PLAINTEXT_FIELD_NAME
    QueryNode.Allocate()
    QueryNode.Add(IQueryNode)
    QueryNode.Add(IList<IQueryNode>)
    QueryNode.IsLeaf
    QueryNode.Set(IList<IQueryNode>)
    QueryNode.CloneTree()
    QueryNode.Clone()
    QueryNode.GetChildren()
    QueryNode.SetTag(String, Object)
    QueryNode.UnsetTag(String)
    QueryNode.ContainsTag(String)
    QueryNode.GetTag(String)
    QueryNode.Parent
    QueryNode.IsRoot
    QueryNode.m_toQueryStringIgnoreFields
    QueryNode.IsDefaultField(String)
    QueryNode.TagMap
    QueryNode.RemoveFromParent()
    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 Source

    NumericRangeQueryNode(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

    true if the lower bound is inclusive, otherwise, false

    System.Boolean upperInclusive

    true if the upper bound is inclusive, otherwise, false

    NumericConfig numericConfig

    the NumericConfig that represents associated with the upper and lower bounds

    See Also
    SetBounds(NumericQueryNode, NumericQueryNode, Boolean, Boolean, NumericConfig)

    Properties

    | Improve this Doc View Source

    NumericConfig

    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 Source

    SetBounds(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

    true if the lower bound is inclusive, otherwise, false

    System.Boolean upperInclusive

    true if the upper bound is inclusive, otherwise, false

    NumericConfig numericConfig

    the NumericConfig that represents associated with the upper and lower bounds

    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    Lucene.Net.QueryParsers.Flexible.Standard.Nodes.AbstractRangeQueryNode<Lucene.Net.QueryParsers.Flexible.Standard.Nodes.NumericQueryNode>.ToString()

    Implements

    IAbstractRangeQueryNode
    IRangeQueryNode<T>
    IRangeQueryNode
    IFieldableNode
    IQueryNode

    See Also

    NumericQueryNode
    AbstractRangeQueryNode<T>
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)