Field mapping metadata for one document type, as returned by getMappings. Wraps the native Elasticsearch MappingMetaData so callers see the parsed mapping body without depending on the Elasticsearch client types directly.

Implements: MappingMetaData


Methods

source()

Returns: Map<String,Object>

The mapping body for this type, parsed to a map. Normally parsed from the backend's structured source; if that fails, falls back to parsing the raw mapping source text instead.

type()

Returns: String

Name of the document type this mapping applies to.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.