public static class LongFieldMapper.LongFieldType extends NumberFieldMapper.NumberFieldType
MappedFieldType.Relation
Modifier | Constructor and Description |
---|---|
|
LongFieldType() |
protected |
LongFieldType(LongFieldMapper.LongFieldType ref) |
Modifier and Type | Method and Description |
---|---|
NumberFieldMapper.NumberFieldType |
clone() |
IndexFieldData.Builder |
fielddataBuilder()
Return a fielddata builder for this field.
|
org.apache.lucene.search.Query |
fuzzyQuery(java.lang.Object value,
Fuzziness fuzziness,
int prefixLength,
int maxExpansions,
boolean transpositions) |
org.apache.lucene.util.BytesRef |
indexedValueForSearch(java.lang.Object value)
Returns the indexed value used to construct search "values".
|
java.lang.Long |
nullValue()
Returns the value that should be added when JSON null is found, or null if no value should be added
|
org.apache.lucene.search.Query |
rangeQuery(java.lang.Object lowerTerm,
java.lang.Object upperTerm,
boolean includeLower,
boolean includeUpper) |
FieldStats |
stats(org.apache.lucene.index.IndexReader reader) |
java.lang.String |
typeName()
Returns the name of this type, as would be specified in mapping properties
|
java.lang.Long |
value(java.lang.Object value)
Returns the actual value of the field.
|
checkCompatibility, isNumeric, useTermQueryWithQueryString, valueForSearch
boost, createTerm, eagerGlobalOrdinals, equals, failIfNoDocValues, hasDocValues, hashCode, indexAnalyzer, isFieldWithinQuery, isSortable, name, nullValueAsString, nullValueQuery, prefixQuery, queryStringTermQuery, regexpQuery, searchAnalyzer, searchQuoteAnalyzer, setBoost, setEagerGlobalOrdinals, setHasDocValues, setIndexAnalyzer, setName, setNullValue, setSearchAnalyzer, setSearchQuoteAnalyzer, setSimilarity, similarity, termQuery, termsQuery
checkIfFrozen, docValuesType, freeze, indexOptions, numericPrecisionStep, numericType, omitNorms, pointDimensionCount, pointNumBytes, setDimensions, setDocValuesType, setIndexOptions, setNumericPrecisionStep, setNumericType, setOmitNorms, setStored, setStoreTermVectorOffsets, setStoreTermVectorPayloads, setStoreTermVectorPositions, setStoreTermVectors, setTokenized, stored, storeTermVectorOffsets, storeTermVectorPayloads, storeTermVectorPositions, storeTermVectors, tokenized, toString
public LongFieldType()
protected LongFieldType(LongFieldMapper.LongFieldType ref)
public NumberFieldMapper.NumberFieldType clone()
clone
in class NumberFieldMapper.NumberFieldType
public java.lang.String typeName()
MappedFieldType
typeName
in class MappedFieldType
public java.lang.Long nullValue()
MappedFieldType
nullValue
in class MappedFieldType
public java.lang.Long value(java.lang.Object value)
MappedFieldType
value
in class NumberFieldMapper.NumberFieldType
public org.apache.lucene.util.BytesRef indexedValueForSearch(java.lang.Object value)
MappedFieldType
indexedValueForSearch
in class MappedFieldType
public org.apache.lucene.search.Query rangeQuery(java.lang.Object lowerTerm, java.lang.Object upperTerm, boolean includeLower, boolean includeUpper)
rangeQuery
in class MappedFieldType
public org.apache.lucene.search.Query fuzzyQuery(java.lang.Object value, Fuzziness fuzziness, int prefixLength, int maxExpansions, boolean transpositions)
fuzzyQuery
in class NumberFieldMapper.NumberFieldType
public FieldStats stats(org.apache.lucene.index.IndexReader reader) throws java.io.IOException
stats
in class MappedFieldType
FieldStats
instance that maps to the type of this
field or null
if the provided index has no stats about the
current fieldjava.io.IOException
public IndexFieldData.Builder fielddataBuilder()
MappedFieldType
fielddataBuilder
in class MappedFieldType