OpenSearch/docs/reference/ingest/processors
Martijn van Groningen 7fc9198d46
Change how `max_matches` affects `target_field` option. (#47982)
Prior to this change the `target_field` would always be a json array
field in the document being ingested. This to take into account that
multiple enrich documents could be inserted into the `target_field`.

However the default `max_matches` is `1`. Meaning that by default
only a single enrich document would be added to `target_field` json
array field.

This commit changes this; if `max_matches` is set to `1` then the single
document would be added as a json object to the `target_field` and
if it is configured to a higher value then the enrich documents will be
added as a json array (even if a single enrich document happens to be
enriched).
2019-10-14 21:09:48 +02:00
..
append.asciidoc Split the ingest processor docs into multiple files (#36887) 2018-12-20 08:04:54 -05:00
bytes.asciidoc Split the ingest processor docs into multiple files (#36887) 2018-12-20 08:04:54 -05:00
circle.asciidoc [DOCS] [5 of 5] Change // TESTRESPONSE comments to [source,console-results] (#46449) (#46459) 2019-09-06 16:09:09 -04:00
common-options.asciidoc Split the ingest processor docs into multiple files (#36887) 2018-12-20 08:04:54 -05:00
convert.asciidoc Split the ingest processor docs into multiple files (#36887) 2018-12-20 08:04:54 -05:00
date-index-name.asciidoc [DOCS] [5 of 5] Change // TESTRESPONSE comments to [source,console-results] (#46449) (#46459) 2019-09-06 16:09:09 -04:00
date.asciidoc Add documentation about breaking java time changes (#38886) 2019-02-14 10:18:12 +01:00
dissect.asciidoc [DOCS] Add anchors for Asciidoctor migration (#41648) 2019-04-30 10:20:17 -04:00
dot-expand.asciidoc [DOCS] Various spelling corrections (#37046) 2019-01-07 14:44:12 +01:00
drop.asciidoc Split the ingest processor docs into multiple files (#36887) 2018-12-20 08:04:54 -05:00
enrich.asciidoc Change how `max_matches` affects `target_field` option. (#47982) 2019-10-14 21:09:48 +02:00
fail.asciidoc Split the ingest processor docs into multiple files (#36887) 2018-12-20 08:04:54 -05:00
foreach.asciidoc bad formatted JSON object (#38515) (#38526) 2019-02-06 13:01:45 -07:00
geoip.asciidoc [DOCS] [5 of 5] Change // TESTRESPONSE comments to [source,console-results] (#46449) (#46459) 2019-09-06 16:09:09 -04:00
grok.asciidoc [DOCS] [5 of 5] Change // TESTRESPONSE comments to [source,console-results] (#46449) (#46459) 2019-09-06 16:09:09 -04:00
gsub.asciidoc Split the ingest processor docs into multiple files (#36887) 2018-12-20 08:04:54 -05:00
html_strip.asciidoc Add HTML strip processor (#41888) 2019-05-09 13:01:07 +02:00
join.asciidoc Split the ingest processor docs into multiple files (#36887) 2018-12-20 08:04:54 -05:00
json.asciidoc Split the ingest processor docs into multiple files (#36887) 2018-12-20 08:04:54 -05:00
kv.asciidoc Split the ingest processor docs into multiple files (#36887) 2018-12-20 08:04:54 -05:00
lowercase.asciidoc Split the ingest processor docs into multiple files (#36887) 2018-12-20 08:04:54 -05:00
pipeline.asciidoc [DOCS] [5 of 5] Change // TESTRESPONSE comments to [source,console-results] (#46449) (#46459) 2019-09-06 16:09:09 -04:00
remove.asciidoc Split the ingest processor docs into multiple files (#36887) 2018-12-20 08:04:54 -05:00
rename.asciidoc Split the ingest processor docs into multiple files (#36887) 2018-12-20 08:04:54 -05:00
script.asciidoc [DOCS] [5 of 5] Change // TESTRESPONSE comments to [source,console-results] (#46449) (#46459) 2019-09-06 16:09:09 -04:00
set-security-user.asciidoc Split the ingest processor docs into multiple files (#36887) 2018-12-20 08:04:54 -05:00
set.asciidoc [DOCS] [5 of 5] Change // TESTRESPONSE comments to [source,console-results] (#46449) (#46459) 2019-09-06 16:09:09 -04:00
sort.asciidoc Split the ingest processor docs into multiple files (#36887) 2018-12-20 08:04:54 -05:00
split.asciidoc Split the ingest processor docs into multiple files (#36887) 2018-12-20 08:04:54 -05:00
trim.asciidoc Split the ingest processor docs into multiple files (#36887) 2018-12-20 08:04:54 -05:00
uppercase.asciidoc Split the ingest processor docs into multiple files (#36887) 2018-12-20 08:04:54 -05:00
url-decode.asciidoc Split the ingest processor docs into multiple files (#36887) 2018-12-20 08:04:54 -05:00
user-agent.asciidoc Expose cache setting in UserAgentPlugin (#46533) 2019-09-16 11:30:38 +02:00