Skip to content

Commit 30dc9f5

Browse files
committed
Document index.lossy.source-mapping-parameters setting
1 parent b4d23a9 commit 30dc9f5

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

docs/reference/elasticsearch/index-settings/source.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,7 @@ $$$synthetic-source-keep$$$
2222

2323
`index.mapping.synthetic_source_keep`
2424
: (Static, string) Controls how to retain accuracy of fields at the index level. Valid values are `none` or `arrays`.This is a subset of [synthetic source keep mapping attribute](/reference/elasticsearch/mapping-reference/mapping-source-field.md#synthetic-source-keep). Defaults to `arrays` if `index.mode` is `logsdb` or otherwise `none`.
25+
26+
$$$index-lossy-source_mapping_parameters$$$
27+
28+
`index.lossy.source-mapping-parameters` {applies_to}`stack: ga 8.14` {applies-to}`serverless: all`: (Static, boolean) Indicates whether [source include/excludes](/reference/elasticsearch/mapping-reference/mapping-source-field.md#include-exclude) are permitted. Defaults to `true` in {{stack}} and `false` in {{serverless-short}}.

docs/reference/elasticsearch/mapping-reference/mapping-source-field.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,7 @@ An expert-only feature is the ability to prune the contents of the `_source` fie
356356
Removing fields from the `_source` has similar downsides to disabling `_source`, especially the fact that you cannot reindex documents from one Elasticsearch index to another. Consider using [source filtering](/reference/elasticsearch/rest-apis/retrieve-selected-fields.md#source-filtering) instead.
357357
::::
358358

359+
If the [`index.lossy.source-mapping-parameters`](/reference/elasticsearch/index-settings/source.md#index-lossy-source_mapping_parameters) settings is `false` then these parameters cannot be configured.
359360

360361
The `includes`/`excludes` parameters (which also accept wildcards) can be used as follows:
361362

0 commit comments

Comments
 (0)