mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-09 14:35:04 +00:00
Removes multi-type support from IndexTemplateMetadata so that instead of holding a map of multiple types to mappings, it only returns a single mapping for a single type. Also removes type from documentMapper() method to avoid any accidental NullPointerExceptions in the internal mapping retrieval. Signed-off-by: Nicholas Walter Knize <nknize@apache.org>