elasticsearch/docs/reference/mapping
Michael Peterson 5169011325
Allow multiple field names/patterns for (path_)(un)match (#66364) (#95558)
* Allow multiple field names/patterns for (path_)(un)match (#66364)

Arrays of patterns are now allowed for dynamic_templates in the match,
unmatch, path_match and path_unmatch fields. DynamicTemplate has been modified to
support List<String> for these fields. The patterns can be either simple wildcards
or regex. As with previous functionality, when match_pattern="regex", simple wildcards
will be flagged with an error, but when match_pattern="simple", using regular expressions
in the match will not throw an error.

One new error pathway was added: if a user specifies a list of non-strings for
one of these pattern fields (e.g., "match": [10, false]) a MapperParserException
will be thrown.

A dynamic_template yamlRestTest was added. This is a BWC change, so the REST test
that uses arrays of patterns is limited to v8.9 and above.

Closes #66364.
2023-04-27 12:58:49 -04:00
..
dynamic Allow multiple field names/patterns for (path_)(un)match (#66364) (#95558) 2023-04-27 12:58:49 -04:00
fields Synthetic source support for flattened fields (#94842) 2023-04-11 10:54:28 +02:00
params Tiny tsdb docs update (#95333) 2023-04-18 11:17:31 -04:00
types Remove remaining tsdb tech preview labels (#95563) 2023-04-26 12:11:03 +02:00
dynamic-mapping.asciidoc [DOCS] Clean up index template xrefs (#67264) 2021-01-11 12:38:09 -05:00
explicit-mapping.asciidoc [DOCS] Replace put with create or update in API names (#70330) 2021-03-15 14:49:44 -04:00
fields.asciidoc Support fetching _tier field value (#71379) 2021-04-08 11:41:52 -07:00
mapping-settings-limit.asciidoc Include runtime fields in total fields count (#89251) 2022-08-15 09:43:12 -04:00
params.asciidoc Add support for dots in field names for metrics usecases (#86166) 2022-05-17 16:34:39 +02:00
removal_of_types.asciidoc [DOCS] Fix double spaces (#71082) 2021-03-31 09:57:47 -04:00
runtime.asciidoc Fix backwards description in runtime fields documentation (#94608) (#94642) 2023-03-22 11:53:35 -04:00
types.asciidoc [DOCS] Move completion type asciidoc (#89086) 2022-08-04 10:02:28 +02:00