public static final class TTLFieldMapper.TTLFieldType extends LegacyLongFieldMapper.LongFieldType
MappedFieldType.Relation| Modifier | Constructor and Description |
|---|---|
|
TTLFieldType() |
protected |
TTLFieldType(TTLFieldMapper.TTLFieldType ref) |
| Modifier and Type | Method and Description |
|---|---|
TTLFieldMapper.TTLFieldType |
clone() |
org.apache.lucene.search.Query |
termQuery(java.lang.Object value,
QueryShardContext context)
Generates a query that will only match documents that contain the given value.
|
org.apache.lucene.search.Query |
termsQuery(java.util.List<?> values,
QueryShardContext context)
Build a constant-scoring query that matches all values.
|
java.lang.Object |
valueForDisplay(java.lang.Object value)
Given a value that comes from the stored fields API, convert it to the
expected type.
|
fielddataBuilder, indexedValueForSearch, nullValue, rangeQuery, stats, typeNamecheckCompatibility, docValueFormatboost, eagerGlobalOrdinals, equals, extractTerm, failIfNoDocValues, failIfNotIndexed, fuzzyQuery, hasDocValues, hashCode, indexAnalyzer, isAggregatable, isFieldWithinQuery, isSearchable, name, nullValueAsString, nullValueQuery, prefixQuery, queryStringTermQuery, regexpQuery, searchAnalyzer, searchQuoteAnalyzer, setBoost, setEagerGlobalOrdinals, setHasDocValues, setIndexAnalyzer, setName, setNullValue, setSearchAnalyzer, setSearchQuoteAnalyzer, setSimilarity, similaritycheckIfFrozen, 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, toStringpublic TTLFieldType()
protected TTLFieldType(TTLFieldMapper.TTLFieldType ref)
public TTLFieldMapper.TTLFieldType clone()
clone in class LegacyLongFieldMapper.LongFieldTypepublic java.lang.Object valueForDisplay(java.lang.Object value)
MappedFieldTypevalueForDisplay in class MappedFieldTypepublic org.apache.lucene.search.Query termQuery(java.lang.Object value,
QueryShardContext context)
MappedFieldTypeTermQuery over the value bytes,
boosted by MappedFieldType.boost().termQuery in class MappedFieldTypepublic org.apache.lucene.search.Query termsQuery(java.util.List<?> values,
QueryShardContext context)
MappedFieldTypeConstantScoreQuery around a BooleanQuery whose BooleanClause.Occur.SHOULD clauses
are generated with MappedFieldType.termQuery(java.lang.Object, org.elasticsearch.index.query.QueryShardContext).termsQuery in class MappedFieldType