PointsConfig@Deprecated public class LegacyNumericConfig extends Object
LegacyNumericRangeQuerys.LegacyNumericRangeQuery,
NumberFormat| Constructor and Description |
|---|
LegacyNumericConfig(int precisionStep,
NumberFormat format,
FieldType.LegacyNumericType type)
Deprecated.
Constructs a
LegacyNumericConfig object. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Deprecated.
|
NumberFormat |
getNumberFormat()
Deprecated.
|
int |
getPrecisionStep()
Deprecated.
Returns the precision used to index the numeric values
|
FieldType.LegacyNumericType |
getType()
Deprecated.
Returns the numeric type used to index the numeric values
|
int |
hashCode()
Deprecated.
|
void |
setNumberFormat(NumberFormat format)
Deprecated.
|
void |
setPrecisionStep(int precisionStep)
Deprecated.
Sets the precision used to index the numeric values
|
void |
setType(FieldType.LegacyNumericType type)
Deprecated.
Sets the numeric type used to index the numeric values
|
public LegacyNumericConfig(int precisionStep,
NumberFormat format,
FieldType.LegacyNumericType type)
LegacyNumericConfig object.precisionStep - the precision used to index the numeric valuesformat - the NumberFormat used to parse a String to
Numbertype - the numeric type used to index the numeric valuessetPrecisionStep(int),
setNumberFormat(NumberFormat),
setType(org.apache.lucene.document.FieldType.LegacyNumericType)public int getPrecisionStep()
LegacyNumericRangeQuery.getPrecisionStep()public void setPrecisionStep(int precisionStep)
precisionStep - the precision used to index the numeric valuesLegacyNumericRangeQuery.getPrecisionStep()public NumberFormat getNumberFormat()
NumberFormat used to parse a String to
Numberpublic FieldType.LegacyNumericType getType()
public void setType(FieldType.LegacyNumericType type)
type - the numeric type used to index the numeric valuespublic void setNumberFormat(NumberFormat format)
format - the NumberFormat used to parse a String to
Number, must not be nullCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.