Annotation Interface Mapping
Elasticsearch Mapping
- Author:
- Mohsin Husen, Peter-Josef Meisch
-
Nested Class Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionfield alias definitions to be written to the index mappingwhether date_detection is enabledString[]
custom dynamic date formatsboolean
whether mappings are enabledwhether numeric_detection is enabledclasspath to a JSON file containing the values for a runtime mapping definition.
-
Element Details
-
mappingPath
String mappingPath- Default:
- ""
-
enabled
boolean enabledwhether mappings are enabled- Since:
- 4.2
- Default:
- true
-
dateDetection
Mapping.Detection dateDetectionwhether date_detection is enabled- Since:
- 4.3
- Default:
- DEFAULT
-
numericDetection
Mapping.Detection numericDetectionwhether numeric_detection is enabled- Since:
- 4.3
- Default:
- DEFAULT
-
dynamicDateFormats
String[] dynamicDateFormatscustom dynamic date formats- Since:
- 4.3
- Default:
- {}
-
runtimeFieldsPath
String runtimeFieldsPathclasspath to a JSON file containing the values for a runtime mapping definition. The file must contain the JSON object that is written as the value of the runtime property.- Since:
- 4.3
- Default:
- ""
-
aliases
MappingAlias[] aliasesfield alias definitions to be written to the index mapping- Since:
- 5.3
- Default:
- {}
-