Module org.elasticsearch.server
Package org.elasticsearch.index.mapper
package org.elasticsearch.index.mapper
-
ClassDescriptionBase field mapper class for all spatial field typesInterface representing parser in geometry indexing pipeline.Base class for spatial fields that only support indexing pointsA base parser implementation for point formatsAbstractScriptFieldType<LeafFactory>Abstract base MappedFieldType for runtime fields based on a script.AbstractScriptFieldType.Builder<Factory>Base class for shape field mappersAn implementation of
ValueFetcher
that knows how to extract values from the document source.A reader that supports reading doc-values from a Lucene segment in Block fashion.Convert from the storedinvalid reference
long
invalid reference
double
Interface for loading data in a block shape.Marker interface for block results.Builds block "builders" for loading data into blocks for the compute engine.A builder for typed values.Implementation ofBlockLoader.ColumnAtATimeReader
andBlockLoader.RowStrideReader
that always loadsnull
.A list of documents to load.Loads values from_source
.Loadboolean
s from_source
.LoadBytesRef
s from_source
.Loaddouble
s from_source
.Loadint
s from_source
.Loadlong
s from_source
.Loads values fromIndexReader.storedFields()
.LoadBytesRef
blocks from storedBytesRef
s.LoadBytesRef
blocks from storedString
s.LoadBytesRef
blocks from storedString
s.A field mapper for boolean fields.BlockDocValuesReader
implementation forboolean
scripts.Mapper for completion field.Builder forCompletionFieldMapper
A runtime field of type object.ASourceLoader.SyntheticFieldLoader
that uses a set of sub-loaders to produce synthetic source for the field.Represents one layer of loading synthetic source values for a field as a part ofCompositeSyntheticFieldLoader
.Layer that loads malformed values stored in a dedicated field with a conventional name.Layer that loads field values from a provided stored field.AMappedFieldType
that has the same value for all documents.Custom field that allows storing an integer value as a term frequency in lucene.FieldMapper for the data-stream's timestamp meta-field.AFieldMapper
for dates.BlockDocValuesReader
implementation for date scripts.Mapper for the doc_count field.A parser for documentsContext used when parsing incoming documents.An exception thrown during document parsing Contains information about the location in the document where the error was encounteredValue fetcher that loads from doc values.BlockDocValuesReader
implementation fordouble
scripts.Defines a MappedFieldType that exposes dynamic child field types If the field is named 'my_field', then a user is able to search on the field in both of the following ways: - Using the field name 'my_field', which will delegate to the field type as usual.The type of a field as detected while parsing a json document.A mapper for field aliases.A Builder for a ParametrizedFieldMapperRepresents a list of fields with optional boost factor where the current field should be copied toCreates mappers for fields that can act as time-series dimensions.A configurable parameter for a field mapperSerializes a parameterCheck on whether or not a parameter should be serializedSpecifies the mode of synthetic source support by the mapper.Interface that defines how a field supports synthetic source.TypeParser implementation that automatically handles parsingA mapper that indexes the field names of a document under_field_names
.Field Mapper for geo_point types.Utility class that allows adding index and doc values in one fieldUtility class that converts geometries into Lucene-compatible form for indexing in a geo_shape field.Implemented byMappedFieldType
that support GeoShape queries.A mapper for the _id field.Responsible for loading the _id from stored fields or for TSDB synthesizing the _id from the routing, _tsid and @timestamp fields.Returns a leaf instance for a leaf reader that returns the _id for segment level doc ids.A field mapper that records fields that have been ignored because they were malformed.Mapper for the_ignored_source
field.Saves malformed values to stored fields so they can be loaded for synthetic_source
.Field mapper that requires to transform its input before indexation through theInferenceService
.An abstractMetadataFieldMapper
used as a placeholder for implementation in the inference module.AFieldMapper
for ip addresses.This class contains utility functionality to build an Automaton based on a prefix String on an `ip` field.BlockDocValuesReader
implementation for keyword scripts.A field mapper for keywords.BlockDocValuesReader
implementation for keyword scripts.RuntimeField base class for leaf fields that will only ever return a singleMappedFieldType
fromRuntimeField.asMappedFieldTypes()
.Field mapper to access the legacy _type that existed in Elasticsearch 5BlockDocValuesReader
implementation forlong
scripts.A runtime field that retrieves fields from related indices.Fork ofDocument
with additional functionality.This defines the core properties and functions to operate on a field.Operation to specify what data structures are used to retrieve field data from and generate a representation of doc values.An enum used to describe the relation between the range of terms in a shard when compared with a query rangeHolds context for building Mapper objects from their BuildersSpec for mapper-related features.Holds context used when merging mappings.Groups together all metrics used in mappers.A registry for all field mappers.The reason why a mapping is being merged.Wrapper around everything that defines a mapping, without references to utility classes like MapperService, ...A (mostly) immutable snapshot of the current mapping of an index with access to everything we need for the search phase.Key for the lookup to be used in caches.Parser forMapping
provided inCompressedXContent
formatHolds everything that is needed to parse mappings.A mapper for a builtin field containing metadata about a document.A type parser for an unconfigurable metadata field.Holds information about nested mappingsA Mapper for nested objectsNode stats for mappings, useful for estimating the overhead ofMappingLookup
on data nodes.AFieldMapper
for numeric types: byte, short, int, long, float and double.Enhances the previously boolean option for subobjects support with an intermediate mode `auto` that uses any objects that are present in the mappings and flattens any fields defined outside the predefined objects.Represents the behaviour when a runtime field or an index-time script fails: either fail and raise the error, or continue and ignore the error.The result of parsing a document.Normalized ingested and stored size of a document.Mapper for pass-through objects.Mapper that is used to map existing fields in legacy indices (older than N-1) that the current version of ES can't access anymore.A mapper for the_id
field that reads the from theSourceToParse.id()
.AFieldMapper
for indexing numeric and date ranges, and creating queriesClass defining a rangeEnum defining the type of rangeCollects fields contributing to routing from documents.Noop implementation that doesn't perform validations on routing fieldsImplementation of routing fields, using field matching based on the routing path content.Definition of a runtime field that can be defined as part of the runtime section of the index mappingsParser for a runtime field.This terms enumeration initializes with a seek to a given term but excludes that term from any results.Mapper for the_seq_no
field.A sequence ID, which is made up of a sequence number (both the searchable and doc_value version of the field) and the primary term.Utility that converts geometries into Lucene-compatible form for indexing in a shape or geo_shape field.MappedFieldType
base impl for field types that are neither dates nor ranges.Load_source
fields fromSortedNumericDocValues
.Load_source
fields fromSortedSetDocValues
.Load_source
into blocks.The source modeContains metrics for operations involving source field.Loads source_source
during a GET or_search
.Synthetic field loader that uses only doc values to load synthetic source values.Loads_source
from some segment.Reconstructs_source
from doc values anf stored fields.Load a field forSourceLoader.Synthetic
.Loads doc values for a field.Sync for stored field values.An implementation ofValueFetcher
that knows how to extract values from the document source.Value fetcher that loads from stored values.Base class forMappedFieldType
implementations that use the same representation for internal index terms as the external representation so that partial matching queries such as prefix, wildcard and fuzzy queries can be implemented.BaseMappedFieldType
implementation for a field that is indexed with the inverted index.AFieldMapper
for full-text fields.Utility functions for text mapper parametersEncapsulates information about how to perform text searches over a fieldWhat sort of term vectors are availableMapper for_tsid
field included generated when the index isorganized into time series
.Utility functions for time series related mapper parametersThere are various types of metric used in time-series aggregations and downsampling.Mapper for the_ts_routing_hash
field.A mapper for the_id
field that builds the_id
from the_tsid
and@timestamp
.A helper class for fetching field values during theFetchFieldsPhase
.Mapper for the _version field.Helper class for processing field data of any type, as provided by theXContentParser
.