Uses of Class
org.elasticsearch.index.mapper.MappedFieldType
-
-
Uses of MappedFieldType in org.apache.lucene.search.grouping
Methods in org.apache.lucene.search.grouping with parameters of type MappedFieldType Modifier and Type Method Description static CollapsingTopDocsCollector<?>CollapsingTopDocsCollector. createKeyword(String collapseField, MappedFieldType collapseFieldType, Sort sort, int topN)Create a collapsing top docs collector on aSortedDocValuesfield.static CollapsingTopDocsCollector<?>CollapsingTopDocsCollector. createNumeric(String collapseField, MappedFieldType collapseFieldType, Sort sort, int topN)Create a collapsing top docs collector on aNumericDocValuesfield. -
Uses of MappedFieldType in org.elasticsearch.index
Method parameters in org.elasticsearch.index with type arguments of type MappedFieldType Modifier and Type Method Description SortIndexSortConfig. buildIndexSort(Function<String,MappedFieldType> fieldTypeLookup, Function<MappedFieldType,IndexFieldData<?>> fieldDataLookup)Builds theSortorder from the settings for this index or returns null if this index has no sort. -
Uses of MappedFieldType in org.elasticsearch.index.fielddata
Methods in org.elasticsearch.index.fielddata with parameters of type MappedFieldType Modifier and Type Method Description IndexFieldData<?>IndexFieldData.Builder. build(IndexSettings indexSettings, MappedFieldType fieldType, IndexFieldDataCache cache, CircuitBreakerService breakerService, MapperService mapperService)<IFD extends IndexFieldData<?>>
IFDIndexFieldDataService. getForField(MappedFieldType fieldType)<IFD extends IndexFieldData<?>>
IFDIndexFieldDataService. getForField(MappedFieldType fieldType, String fullyQualifiedIndexName) -
Uses of MappedFieldType in org.elasticsearch.index.fielddata.plain
Methods in org.elasticsearch.index.fielddata.plain with parameters of type MappedFieldType Modifier and Type Method Description IndexFieldData<?>AbstractLatLonPointDVIndexFieldData.Builder. build(IndexSettings indexSettings, MappedFieldType fieldType, IndexFieldDataCache cache, CircuitBreakerService breakerService, MapperService mapperService)IndexFieldData<?>BytesBinaryDVIndexFieldData.Builder. build(IndexSettings indexSettings, MappedFieldType fieldType, IndexFieldDataCache cache, CircuitBreakerService breakerService, MapperService mapperService)IndexFieldData<?>ConstantIndexFieldData.Builder. build(IndexSettings indexSettings, MappedFieldType fieldType, IndexFieldDataCache cache, CircuitBreakerService breakerService, MapperService mapperService)IndexFieldData<?>DocValuesIndexFieldData.Builder. build(IndexSettings indexSettings, MappedFieldType fieldType, IndexFieldDataCache cache, CircuitBreakerService breakerService, MapperService mapperService)IndexOrdinalsFieldDataPagedBytesIndexFieldData.Builder. build(IndexSettings indexSettings, MappedFieldType fieldType, IndexFieldDataCache cache, CircuitBreakerService breakerService, MapperService mapperService) -
Uses of MappedFieldType in org.elasticsearch.index.fieldvisitor
Constructors in org.elasticsearch.index.fieldvisitor with parameters of type MappedFieldType Constructor Description SingleFieldsVisitor(MappedFieldType field, List<Object> destination)Build the field visitor; -
Uses of MappedFieldType in org.elasticsearch.index.mapper
Fields in org.elasticsearch.index.mapper declared as MappedFieldType Modifier and Type Field Description protected MappedFieldTypeFieldMapper.Builder. defaultFieldTypeprotected MappedFieldTypeFieldMapper. defaultFieldTypestatic MappedFieldTypeAllFieldMapper.Defaults. FIELD_TYPEstatic MappedFieldTypeBinaryFieldMapper.Defaults. FIELD_TYPEstatic MappedFieldTypeBooleanFieldMapper.Defaults. FIELD_TYPEstatic MappedFieldTypeCompletionFieldMapper.Defaults. FIELD_TYPEstatic MappedFieldTypeFieldNamesFieldMapper.Defaults. FIELD_TYPEstatic MappedFieldTypeIdFieldMapper.Defaults. FIELD_TYPEstatic MappedFieldTypeIgnoredFieldMapper.Defaults. FIELD_TYPEstatic MappedFieldTypeIndexFieldMapper.Defaults. FIELD_TYPEstatic MappedFieldTypeKeywordFieldMapper.Defaults. FIELD_TYPEstatic MappedFieldTypeRoutingFieldMapper.Defaults. FIELD_TYPEstatic MappedFieldTypeSeqNoFieldMapper.SeqNoDefaults. FIELD_TYPEstatic MappedFieldTypeSourceFieldMapper.Defaults. FIELD_TYPEstatic MappedFieldTypeTextFieldMapper.Defaults. FIELD_TYPEstatic MappedFieldTypeTypeFieldMapper.Defaults. FIELD_TYPEstatic MappedFieldTypeVersionFieldMapper.Defaults. FIELD_TYPEprotected MappedFieldTypeFieldMapper.Builder. fieldTypeprotected MappedFieldTypeFieldMapper. fieldTypestatic MappedFieldTypeIdFieldMapper.Defaults. NESTED_FIELD_TYPEMethods in org.elasticsearch.index.mapper that return MappedFieldType Modifier and Type Method Description MappedFieldTypeBooleanFieldMapper.BooleanFieldType. clone()MappedFieldTypeDateFieldMapper.DateFieldType. clone()MappedFieldTypeGeoPointFieldMapper.GeoPointFieldType. clone()MappedFieldTypeIpFieldMapper.IpFieldType. clone()abstract MappedFieldTypeMappedFieldType. clone()MappedFieldTypeNumberFieldMapper.NumberFieldType. clone()MappedFieldTypeRangeFieldMapper.RangeFieldType. clone()MappedFieldTypeTypeFieldMapper.TypeFieldType. clone()MappedFieldTypeFieldMapper.Builder. fieldType()MappedFieldTypeFieldMapper. fieldType()MappedFieldTypeMapperService. fullName(String fullName)Returns theMappedFieldTypefor the give fullName.abstract MappedFieldTypeDynamicKeyFieldMapper. keyedFieldType(String key)MappedFieldTypeMapperService. unmappedFieldType(String type)Given a type (eg.Methods in org.elasticsearch.index.mapper that return types with arguments of type MappedFieldType Modifier and Type Method Description Iterable<MappedFieldType>MapperService. fieldTypes()Returns all mapped field types.Methods in org.elasticsearch.index.mapper with parameters of type MappedFieldType Modifier and Type Method Description GeoPointFieldMapperGeoPointFieldMapper.Builder. build(Mapper.BuilderContext context, String simpleName, MappedFieldType fieldType, MappedFieldType defaultFieldType, Settings indexSettings, FieldMapper.MultiFields multiFields, Explicit<Boolean> ignoreMalformed, Explicit<Boolean> ignoreZValue, FieldMapper.CopyTo copyTo)voidCompletionFieldMapper.CompletionFieldType. checkCompatibility(MappedFieldType fieldType, List<String> conflicts)voidDateFieldMapper.DateFieldType. checkCompatibility(MappedFieldType fieldType, List<String> conflicts)voidKeywordFieldMapper.KeywordFieldType. checkCompatibility(MappedFieldType otherFT, List<String> conflicts)voidLegacyGeoShapeFieldMapper.GeoShapeFieldType. checkCompatibility(MappedFieldType fieldType, List<String> conflicts)voidMappedFieldType. checkCompatibility(MappedFieldType other, List<String> conflicts)Checks for any conflicts between this field type and other.voidTextFieldMapper.TextFieldType. checkCompatibility(MappedFieldType other, List<String> conflicts)MetadataFieldMapperAllFieldMapper.TypeParser. getDefault(MappedFieldType fieldType, Mapper.TypeParser.ParserContext context)MetadataFieldMapperFieldNamesFieldMapper.TypeParser. getDefault(MappedFieldType fieldType, Mapper.TypeParser.ParserContext context)MetadataFieldMapperIdFieldMapper.TypeParser. getDefault(MappedFieldType fieldType, Mapper.TypeParser.ParserContext context)MetadataFieldMapperIgnoredFieldMapper.TypeParser. getDefault(MappedFieldType fieldType, Mapper.TypeParser.ParserContext context)MetadataFieldMapperIndexFieldMapper.TypeParser. getDefault(MappedFieldType fieldType, Mapper.TypeParser.ParserContext context)MetadataFieldMapperMetadataFieldMapper.TypeParser. getDefault(MappedFieldType fieldType, Mapper.TypeParser.ParserContext parserContext)Get the defaultMetadataFieldMapperto use, if nothing had to be parsed.MetadataFieldMapperRoutingFieldMapper.TypeParser. getDefault(MappedFieldType fieldType, Mapper.TypeParser.ParserContext context)MetadataFieldMapperSeqNoFieldMapper.TypeParser. getDefault(MappedFieldType fieldType, Mapper.TypeParser.ParserContext context)MetadataFieldMapperSourceFieldMapper.TypeParser. getDefault(MappedFieldType fieldType, Mapper.TypeParser.ParserContext context)MetadataFieldMapperTypeFieldMapper.TypeParser. getDefault(MappedFieldType fieldType, Mapper.TypeParser.ParserContext context)MetadataFieldMapperVersionFieldMapper.TypeParser. getDefault(MappedFieldType fieldType, Mapper.TypeParser.ParserContext context)Method parameters in org.elasticsearch.index.mapper with type arguments of type MappedFieldType Modifier and Type Method Description DocumentMapperDocumentMapper. updateFieldType(Map<String,MappedFieldType> fullNameToFieldType)Recursively update sub field types.MapperFieldAliasMapper. updateFieldType(Map<String,MappedFieldType> fullNameToFieldType)FieldMapper.MultiFieldsFieldMapper.MultiFields. updateFieldType(Map<String,MappedFieldType> fullNameToFieldType)FieldMapperFieldMapper. updateFieldType(Map<String,MappedFieldType> fullNameToFieldType)abstract MapperMapper. updateFieldType(Map<String,MappedFieldType> fullNameToFieldType)Update the field type of this mapper.MappingMapping. updateFieldType(Map<String,MappedFieldType> fullNameToFieldType)Recursively update sub field types.ObjectMapperObjectMapper. updateFieldType(Map<String,MappedFieldType> fullNameToFieldType)RootObjectMapperRootObjectMapper. updateFieldType(Map<String,MappedFieldType> fullNameToFieldType)FieldMapperTextFieldMapper. updateFieldType(Map<String,MappedFieldType> fullNameToFieldType) -
Uses of MappedFieldType in org.elasticsearch.index.query
Methods in org.elasticsearch.index.query that return MappedFieldType Modifier and Type Method Description MappedFieldTypeQueryShardContext. fieldMapper(String name)Methods in org.elasticsearch.index.query with parameters of type MappedFieldType Modifier and Type Method Description protected abstract QueryAbstractGeometryQueryBuilder. buildShapeQuery(QueryShardContext context, MappedFieldType fieldType)builds the appropriate lucene shape queryQueryGeoShapeQueryBuilder. buildShapeQuery(QueryShardContext context, MappedFieldType fieldType)IntervalsSourceIntervalsSourceProvider.IntervalFilter. filter(IntervalsSource input, QueryShardContext context, MappedFieldType fieldType)<IFD extends IndexFieldData<?>>
IFDQueryShardContext. getForField(MappedFieldType fieldType)AnalyzerQueryShardContext. getSearchAnalyzer(MappedFieldType fieldType)Gets the search analyzer for the given field, or the default if there is none present for the field TODO: remove this by moving defaults into mappers themselvesAnalyzerQueryShardContext. getSearchQuoteAnalyzer(MappedFieldType fieldType)Gets the search quote analyzer for the given field, or the default if there is none present for the field TODO: remove this by moving defaults into mappers themselvesIntervalsSourceIntervalsSourceProvider.Combine. getSource(QueryShardContext ctx, MappedFieldType fieldType)IntervalsSourceIntervalsSourceProvider.Disjunction. getSource(QueryShardContext ctx, MappedFieldType fieldType)abstract IntervalsSourceIntervalsSourceProvider. getSource(QueryShardContext context, MappedFieldType fieldType)IntervalsSourceIntervalsSourceProvider.Match. getSource(QueryShardContext context, MappedFieldType fieldType)IntervalsSourceIntervalsSourceProvider.Prefix. getSource(QueryShardContext context, MappedFieldType fieldType)IntervalsSourceIntervalsSourceProvider.Wildcard. getSource(QueryShardContext context, MappedFieldType fieldType)Constructor parameters in org.elasticsearch.index.query with type arguments of type MappedFieldType Constructor Description QueryShardContext(int shardId, IndexSettings indexSettings, BigArrays bigArrays, BitsetFilterCache bitsetFilterCache, BiFunction<MappedFieldType,String,IndexFieldData<?>> indexFieldDataLookup, MapperService mapperService, SimilarityService similarityService, ScriptService scriptService, NamedXContentRegistry xContentRegistry, NamedWriteableRegistry namedWriteableRegistry, Client client, IndexSearcher searcher, LongSupplier nowInMillis, String clusterAlias, Predicate<String> indexNameMatcher) -
Uses of MappedFieldType in org.elasticsearch.index.search
Methods in org.elasticsearch.index.search with parameters of type MappedFieldType Modifier and Type Method Description protected AnalyzerMatchQuery. getAnalyzer(MappedFieldType fieldType, boolean quoted) -
Uses of MappedFieldType in org.elasticsearch.search.aggregations.support
Methods in org.elasticsearch.search.aggregations.support that return MappedFieldType Modifier and Type Method Description MappedFieldTypeFieldContext. fieldType()Constructors in org.elasticsearch.search.aggregations.support with parameters of type MappedFieldType Constructor Description FieldContext(String field, IndexFieldData<?> indexFieldData, MappedFieldType fieldType)Constructs a field data context for the given field and its index field data -
Uses of MappedFieldType in org.elasticsearch.search.collapse
Methods in org.elasticsearch.search.collapse that return MappedFieldType Modifier and Type Method Description MappedFieldTypeCollapseContext. getFieldType()The field type used for collapsingConstructors in org.elasticsearch.search.collapse with parameters of type MappedFieldType Constructor Description CollapseContext(String fieldName, MappedFieldType fieldType, List<InnerHitBuilder> innerHits) -
Uses of MappedFieldType in org.elasticsearch.search.fetch.subphase.highlight
Fields in org.elasticsearch.search.fetch.subphase.highlight declared as MappedFieldType Modifier and Type Field Description MappedFieldTypeHighlighterContext. fieldTypeprotected MappedFieldTypeSimpleFragmentsBuilder. fieldTypeMethods in org.elasticsearch.search.fetch.subphase.highlight with parameters of type MappedFieldType Modifier and Type Method Description booleanFastVectorHighlighter. canHighlight(MappedFieldType fieldType)booleanHighlighter. canHighlight(MappedFieldType fieldType)booleanPlainHighlighter. canHighlight(MappedFieldType fieldType)booleanUnifiedHighlighter. canHighlight(MappedFieldType fieldType)protected static StringUnifiedHighlighter. convertFieldValue(MappedFieldType type, Object value)static FieldFragList.WeightedFragInfoFragmentBuilderHelper. fixWeightedFragInfo(MappedFieldType fieldType, Field[] values, FieldFragList.WeightedFragInfo fragInfo)Fixes problems with broken analysis chains if positions and offsets are messed up that can lead toStringIndexOutOfBoundsExceptionin theFastVectorHighlighterprotected UnifiedHighlighter.OffsetSourceUnifiedHighlighter. getOffsetSource(MappedFieldType fieldType)static List<Object>HighlightUtils. loadFieldValues(MappedFieldType fieldType, QueryShardContext context, FetchSubPhase.HitContext hitContext, boolean forceSource)Load field values for highlighting.protected List<Object>UnifiedHighlighter. loadFieldValues(MappedFieldType fieldType, SearchContextHighlight.Field field, QueryShardContext context, FetchSubPhase.HitContext hitContext, boolean forceSource)Constructors in org.elasticsearch.search.fetch.subphase.highlight with parameters of type MappedFieldType Constructor Description HighlighterContext(String fieldName, SearchContextHighlight.Field field, MappedFieldType fieldType, SearchShardTarget shardTarget, QueryShardContext context, SearchContextHighlight highlight, FetchSubPhase.HitContext hitContext, Query query)SimpleFragmentsBuilder(MappedFieldType fieldType, String[] preTags, String[] postTags, BoundaryScanner boundaryScanner)SourceScoreOrderFragmentsBuilder(MappedFieldType fieldType, QueryShardContext context, String[] preTags, String[] postTags, BoundaryScanner boundaryScanner)SourceSimpleFragmentsBuilder(MappedFieldType fieldType, QueryShardContext context, String[] preTags, String[] postTags, BoundaryScanner boundaryScanner) -
Uses of MappedFieldType in org.elasticsearch.search.internal
Methods in org.elasticsearch.search.internal that return MappedFieldType Modifier and Type Method Description MappedFieldTypeFilteredSearchContext. smartNameFieldType(String name)abstract MappedFieldTypeSearchContext. smartNameFieldType(String name)Looks up the given field, but does not restrict to fields in the types set on this context.Methods in org.elasticsearch.search.internal with parameters of type MappedFieldType Modifier and Type Method Description <IFD extends IndexFieldData<?>>
IFDFilteredSearchContext. getForField(MappedFieldType fieldType)abstract <IFD extends IndexFieldData<?>>
IFDSearchContext. getForField(MappedFieldType fieldType) -
Uses of MappedFieldType in org.elasticsearch.search.lookup
Methods in org.elasticsearch.search.lookup that return MappedFieldType Modifier and Type Method Description MappedFieldTypeFieldLookup. fieldType()Methods in org.elasticsearch.search.lookup with parameters of type MappedFieldType Modifier and Type Method Description IndexFieldData<?>DocLookup. getForField(MappedFieldType fieldType)IndexFieldData<?>LeafDocLookup. getForField(MappedFieldType fieldType)Constructor parameters in org.elasticsearch.search.lookup with type arguments of type MappedFieldType Constructor Description SearchLookup(MapperService mapperService, Function<MappedFieldType,IndexFieldData<?>> fieldDataLookup, String[] types) -
Uses of MappedFieldType in org.elasticsearch.search.suggest.completion.context
Method parameters in org.elasticsearch.search.suggest.completion.context with type arguments of type MappedFieldType Modifier and Type Method Description static voidContextMapping. validateContextPaths(Version indexVersionCreated, List<FieldMapper> fieldMappers, Function<String,MappedFieldType> fieldResolver)Verifies that all field paths specified in contexts point to the fields with correct mappingsprotected voidContextMapping. validateReferences(Version indexVersionCreated, Function<String,MappedFieldType> fieldResolver)Checks if the current context is consistent with the rest of the fields.protected voidGeoContextMapping. validateReferences(Version indexVersionCreated, Function<String,MappedFieldType> fieldResolver)
-