Class NumericRangeFilterBuilder
Creates a Numeric
Attribute nameValuesRequiredDefault | |
---|---|
fieldNameStringYesN/A | |
lowerTermSpecified by type YesN/A | |
upperTermSpecified by type YesN/A | |
typeint, long, float, doubleNoint | |
includeLowertrue, falseNotrue | |
includeUppertrue, falseNotrue | |
precisionStepintNo4 |
If an error occurs parsing the supplied lowerTerm
or
upperTerm
into the numeric type specified by type
, then the
error will be silently ignored and the resulting filter will not match any
documents.
Inheritance
Implements
Inherited Members
Namespace: Lucene.Net.QueryParsers.Xml.Builders
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class NumericRangeFilterBuilder : IFilterBuilder
Methods
| Improve this Doc View SourceGetFilter(XmlElement)
Declaration
public virtual Filter GetFilter(XmlElement e)
Parameters
Type | Name | Description |
---|---|---|
System. |
e |
Returns
Type | Description |
---|---|
Lucene. |
SetStrictMode(Boolean)
Specifies how this Numeric
If this is set to true, Get
Defaults to false.
Declaration
public void SetStrictMode(bool strictMode)
Parameters
Type | Name | Description |
---|---|---|
System. |
strictMode |