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
|`array` 2*| Depends on the first non-`null` value in the array
27
+
|`string` that passes <<date-detection,date detection>> 2*| `date`
28
+
|`string` that passes <<numeric-detection,numeric detection>> | `double` or `long` | `double`
29
+
|`string` that doesn't pass `date` detection or `numeric` detection | `text` with a `.keyword` sub-field | `keyword`
30
+
3+| [[dynamic-object-footnote]] ^1^Objects are always mapped as part of the `properties` section, even when the `dynamic` parameter is set to `runtime`. | |
31
+
|===
32
+
33
+
Besides the following options, you can customize dynamic field mapping rules
34
+
with <<dynamic-templates,`dynamic_templates`>>.
33
35
34
36
[[date-detection]]
35
37
==== Date detection
@@ -129,4 +131,3 @@ PUT my-index-000001/_doc/1
129
131
130
132
<1> The `my_float` field is added as a <<number,`float`>> field.
131
133
<2> The `my_integer` field is added as a <<number,`long`>> field.
By default, fields can be added _dynamically_ to a document, or to
5
-
<<object,inner objects>> within a document, just by indexing a document
6
-
containing the new field. For instance:
4
+
When you index a document containing a new field, {es} <<dynamic-mapping,adds the field dynamically>> to a document or to inner objects within a document. The
5
+
following document adds the string field `username`, the object field
6
+
`name`, and two string fields under the `name` object:
0 commit comments