Adaption of ElasticSearch-Mapping¶
Insight-Indexer creates automatically mapping for ElasticSearch-Index while createIndex or rebuildAll.
Insight-Indexer respects indexspecific mapping that is stored in a json-file. insight-indexer reads this file and enriches the index-specific mapping with generated mapping for an index.
The file of index-specific mapping must have the same name as treeConfig-file and the location can be configured with property.
# customized ES-Mapping
indexer.elastic.customized-mappings=insight/esmapping
The path can be relative to wildfly\standalone\configuration or absolute.