Class NumericConfig
This class holds the configuration used to parse numeric queries and create NumericRangeQuerys.
Inheritance
System.Object
NumericConfig
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Lucene.Net.QueryParser.dll
Syntax
[Serializable]
public class NumericConfig
Constructors
Name | Description |
---|---|
NumericConfig(Int32, NumberFormat, NumericType) | Constructs a NumericConfig object. |
Properties
Name | Description |
---|---|
NumberFormat | Gets or Sets the NumberFormat used to parse a System.String to
System.Object representing a .NET numeric type, cannot be |
PrecisionStep | Gets or sets the precision used to index the numeric values |
Type | Gets or Sets the numeric type used to index the numeric values |
Methods
Name | Description |
---|---|
Equals(Object) | |
GetHashCode() | LUCENENET specific - Visual Studio provides a compiler warning if Equals(Object) is overridden without GetHashCode(), so we provide an implementation that mirrors Equals(Object). |