PointValues
instead@Deprecated public final class LegacyFieldType extends FieldType
Constructor and Description |
---|
LegacyFieldType()
Deprecated.
Create a new FieldType with default properties.
|
LegacyFieldType(LegacyFieldType ref)
Deprecated.
Create a new mutable LegacyFieldType with all of the properties from
ref |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Deprecated.
|
int |
hashCode()
Deprecated.
|
int |
numericPrecisionStep()
Deprecated.
Please switch to
PointValues instead |
LegacyNumericType |
numericType()
Deprecated.
Please switch to
PointValues instead |
void |
setNumericPrecisionStep(int precisionStep)
Deprecated.
Please switch to
PointValues instead |
void |
setNumericType(LegacyNumericType type)
Deprecated.
Please switch to
PointValues instead |
String |
toString()
Deprecated.
Prints a Field for human consumption.
|
checkIfFrozen, docValuesType, freeze, getAttributes, indexOptions, omitNorms, pointDataDimensionCount, pointIndexDimensionCount, pointNumBytes, putAttribute, setDimensions, setDimensions, setDocValuesType, setIndexOptions, setOmitNorms, setStored, setStoreTermVectorOffsets, setStoreTermVectorPayloads, setStoreTermVectorPositions, setStoreTermVectors, setTokenized, stored, storeTermVectorOffsets, storeTermVectorPayloads, storeTermVectorPositions, storeTermVectors, tokenized
public LegacyFieldType(LegacyFieldType ref)
ref
public LegacyFieldType()
@Deprecated public void setNumericType(LegacyNumericType type)
PointValues
insteadtype
- numeric type, or null if the field has no numeric type.IllegalStateException
- if this FieldType is frozen against
future modifications.numericType()
@Deprecated public LegacyNumericType numericType()
PointValues
insteadLegacyNumericRangeQuery
can be used at
search time.
The default is null
(no numeric type)
setNumericType(LegacyNumericType)
@Deprecated public void setNumericPrecisionStep(int precisionStep)
PointValues
insteadprecisionStep
- numeric precision step for the fieldIllegalArgumentException
- if precisionStep is less than 1.IllegalStateException
- if this FieldType is frozen against
future modifications.numericPrecisionStep()
@Deprecated public int numericPrecisionStep()
PointValues
instead
This has no effect if numericType()
returns null.
The default is LegacyNumericUtils.PRECISION_STEP_DEFAULT
setNumericPrecisionStep(int)
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.