Class NumericConfig
This class holds the configuration used to parse numeric queries and create
Inheritance
System.Object
NumericConfig
Namespace: Lucene.Net.QueryParsers.Flexible.Standard.Config
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class NumericConfig : object
Constructors
| Improve this Doc View SourceNumericConfig(Int32, NumberFormat, NumericType)
Constructs a NumericConfig object.
Declaration
public NumericConfig(int precisionStep, NumberFormat format, NumericType type)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | precisionStep | the precision used to index the numeric values |
NumberFormat | format | the NumberFormat used to parse a |
NumericType | type | the numeric type used to index the numeric values |
See Also
Properties
| Improve this Doc View SourceNumberFormat
Gets or Sets the null
Declaration
public virtual NumberFormat NumberFormat { get; set; }
Property Value
Type | Description |
---|---|
NumberFormat |
PrecisionStep
Gets or sets the precision used to index the numeric values
Declaration
public virtual int PrecisionStep { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Type
Gets or Sets the numeric type used to index the numeric values
Declaration
public virtual NumericType Type { get; set; }
Property Value
Type | Description |
---|---|
NumericType |
Methods
| Improve this Doc View SourceEquals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
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).
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |