Show / Hide Table of Contents

    Class NumericRangeQueryBuilder

    Creates a . The table below specifies the required attributes and the defaults if optional attributes are omitted. For more detail on what each of the attributes actually do, consult the documentation for :

    Attribute nameValuesRequiredDefault
    fieldNameStringYesN/A
    lowerTermSpecified by typeYesN/A
    upperTermSpecified by typeYesN/A
    typeint, long, float, doubleNoint
    includeLowertrue, falseNotrue
    includeUppertrue, falseNotrue
    precisionStepintNo4

    A ParserException will be thrown if an error occurs parsing the supplied lowerTerm or upperTerm into the numeric type specified by type.

    Inheritance
    System.Object
    NumericRangeQueryBuilder
    Implements
    IQueryBuilder
    Namespace: Lucene.Net.QueryParsers.Xml.Builders
    Assembly: Lucene.Net.QueryParser.dll
    Syntax
    public class NumericRangeQueryBuilder : object, IQueryBuilder

    Methods

    | Improve this Doc View Source

    GetQuery(XmlElement)

    Declaration
    public virtual Query GetQuery(XmlElement e)
    Parameters
    Type Name Description
    XmlElement e
    Returns
    Type Description
    Query

    Implements

    IQueryBuilder
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)