[DOCS] Note clause limit in index.mapping.total_fields.limit docs (#48153)

Notes that you should increase the `indices.query.bool.max_clause_count`
setting if you increase the `index.mapping.total_fields.limit`
setting.

Closes #46928.
This commit is contained in:
James Rodewig 2019-10-18 10:20:23 -04:00
parent fbd43196a8
commit 1d06be2f05

View File

@ -80,6 +80,17 @@ causing a mapping explosion:
`index.mapping.total_fields.limit`::
The maximum number of fields in an index. Field and object mappings, as well as
field aliases count towards this limit. The default value is `1000`.
+
[IMPORTANT]
====
The limit is in place to prevent mappings and searches from becoming too
large. Higher values can lead to performance degradations and memory issues,
especially in clusters with a high load or few resources.
If you increase this setting, we recommend you also increase the
<<search-settings,`indices.query.bool.max_clause_count`>> setting, which
limits the maximum number of <<query-dsl-bool-query,boolean clauses>> in a query.
====
`index.mapping.depth.limit`::
The maximum depth for a field, which is measured as the number of inner