Package org.opensearch.index.mapper
Class ScaledFloatFieldMapper.ScaledFloatFieldType
java.lang.Object
org.opensearch.index.mapper.MappedFieldType
org.opensearch.index.mapper.SimpleMappedFieldType
org.opensearch.index.mapper.ScaledFloatFieldMapper.ScaledFloatFieldType
- Enclosing class:
- ScaledFloatFieldMapper
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opensearch.index.mapper.MappedFieldType
MappedFieldType.Relation -
Constructor Summary
ConstructorsConstructorDescriptionScaledFloatFieldType(String name, boolean indexed, boolean stored, boolean hasDocValues, Map<String, String> meta, double scalingFactor, Double nullValue) ScaledFloatFieldType(String name, double scalingFactor) -
Method Summary
Modifier and TypeMethodDescriptiondocValueFormat(String format, ZoneId timeZone) fielddataBuilder(String fullyQualifiedIndexName, Supplier<SearchLookup> searchLookup) doubleorg.apache.lucene.search.QueryrangeQuery(Object lowerTerm, Object upperTerm, boolean includeLower, boolean includeUpper, QueryShardContext context) org.apache.lucene.search.QuerytermQuery(Object value, QueryShardContext context) org.apache.lucene.search.QuerytermsQuery(List<?> values, QueryShardContext context) typeName()valueFetcher(QueryShardContext context, SearchLookup searchLookup, String format) valueForDisplay(Object value) Methods inherited from class org.opensearch.index.mapper.SimpleMappedFieldType
rangeQueryMethods inherited from class org.opensearch.index.mapper.MappedFieldType
boost, distanceFeatureQuery, eagerGlobalOrdinals, existsQuery, extractTerm, failIfNoDocValues, failIfNotIndexed, familyTypeName, fuzzyQuery, getTextSearchInfo, hasDocValues, indexAnalyzer, intervals, isAggregatable, isFieldWithinQuery, isSearchable, isStored, meta, multiPhraseQuery, name, phrasePrefixQuery, phraseQuery, pointReaderIfPossible, prefixQuery, prefixQuery, regexpQuery, setBoost, setEagerGlobalOrdinals, setIndexAnalyzer, spanPrefixQuery, termQueryCaseInsensitive, wildcardQuery, wildcardQuery
-
Constructor Details
-
ScaledFloatFieldType
-
ScaledFloatFieldType
-
-
Method Details
-
getScalingFactor
public double getScalingFactor() -
typeName
- Specified by:
typeNamein classMappedFieldType
-
termQuery
- Specified by:
termQueryin classMappedFieldType
-
termsQuery
- Overrides:
termsQueryin classMappedFieldType
-
rangeQuery
public org.apache.lucene.search.Query rangeQuery(Object lowerTerm, Object upperTerm, boolean includeLower, boolean includeUpper, QueryShardContext context) - Overrides:
rangeQueryin classSimpleMappedFieldType
-
fielddataBuilder
public IndexFieldData.Builder fielddataBuilder(String fullyQualifiedIndexName, Supplier<SearchLookup> searchLookup) - Overrides:
fielddataBuilderin classMappedFieldType
-
valueFetcher
public ValueFetcher valueFetcher(QueryShardContext context, SearchLookup searchLookup, String format) - Specified by:
valueFetcherin classMappedFieldType
-
valueForDisplay
- Overrides:
valueForDisplayin classMappedFieldType
-
docValueFormat
- Overrides:
docValueFormatin classMappedFieldType
-