Deprecated: Optional parameter $keys declared before required parameter $cms_id is implicitly treated as a required parameter in /home/www/dev/work/class/blog/CmsKey.php on line 75

Deprecated: Creation of dynamic property lvesu\lvesu\controller\blog\main::$outlink is deprecated in /home/www/dev/work/website/lvesu/template/blog/cms/cms.tpl on line 2

Deprecated: Creation of dynamic property lvesu\lvesu\controller\blog\main::$status is deprecated in /home/www/dev/work/website/lvesu/template/blog/index.head.php on line 2
ES全局设置-防止字段过多引起崩溃 - 互联网笔记

略微加速

略速 - 互联网笔记

ES全局设置-防止字段过多引起崩溃

2020-11-19 leiting (6143阅读)

标签 Elasticsearch

防止字段过多引起崩溃

  • index.mapping.total_fields.limit: 1000

一个索引的字段数量上限

  • index.mapping.depth.limit: 20

嵌套文档的层级数+ 嵌套文档的层级数

  • index.mapping.nested_fields.limit: 50

The maximum number of nested fields in an index


禁止自动创建索引:明确设置字段的分析器等

  • action.auto_create_index: false

--------------------- 

作者:李思苇 

来源:CSDN 

原文:https://blog.csdn.net/wenxindiaolong061/article/details/82749185 

版权声明:本文为博主原创文章,转载请附上博文链接!


北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3