• API

    Show / Hide Table of Contents

    Class NumericRangeQueryBuilder

    Creates a NumericRangeQuery. 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 NumericRangeQuery:

    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
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Lucene.Net.QueryParsers.Xml.Builders
    Assembly: Lucene.Net.QueryParser.dll
    Syntax
    public class NumericRangeQueryBuilder : IQueryBuilder

    Methods

    | Improve this Doc View Source

    GetQuery(XmlElement)

    Declaration
    public virtual Query GetQuery(XmlElement e)
    Parameters
    Type Name Description
    System.Xml.XmlElement e
    Returns
    Type Description
    Lucene.Net.Search.Query

    Implements

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