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 type YesN/A | |
upperTermSpecified by type YesN/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
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Lucene.Net.QueryParser.dll
Syntax
[Serializable]
public class NumericRangeQueryBuilder : IQueryBuilder
Methods
Name | Description |
---|---|
GetQuery(XmlElement) |