You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/asciidoc/reference/elasticsearch-misc.adoc
+15-1
Original file line number
Diff line number
Diff line change
@@ -51,10 +51,24 @@ class Entity {
51
51
52
52
When Spring Data Elasticsearch creates the index mapping with the `IndexOperations.createMapping()` methods, it uses the annotations described in <<elasticsearch.mapping.meta-model.annotations>>, especially the `@Field` annotation. In addition to that it is possible to add the `@Mapping` annotation to a class. This annotation has the following properties:
53
53
54
-
* `mappingPath` a classpath resource in JSON format which is used as the mapping, no other mapping processing is done.
54
+
* `mappingPath` a classpath resource in JSON format; if this is not empty it is used as the mapping, no other mapping processing is done.
55
55
* `enabled` when set to false, this flag is written to the mapping and no further processing is done.
56
56
* `dateDetection` and `numericDetection` set the corresponding properties in the mapping when not set to `DEFAULT`.
57
57
* `dynamicDateFormats` when this String array is not empty, it defines the date formats used for automatic date detection.
58
+
* `runtimeFieldsPath` a classpath resource in JSON format containing the definition of runtime fields which is written to the index mappings, for example:
0 commit comments