ElasticSearch设置索引最大字段数,字段最大数据长度
错误:index has exceeded [1000000] - maximum allowed to be analyzed for highlighting.es单独一个字段有大小限制-----修改最大返回数据大小curl -XPUT “http://ip:9200/_settings” -H ‘Content-Type: application/json’ -d’ {“index” : {
·
错误:index has exceeded [1000000] - maximum allowed to be analyzed for highlighting.
es单独一个字段有大小限制
-----修改最大返回数据大小
curl -XPUT “http://ip:9200/_settings” -H ‘Content-Type: application/json’ -d’ {“index” : {“highlight.max_analyzed_offset” : 100000000}}’
错误:Limit of total fields [1000] in index [my_index] has been exceeded
-----修改字段数
curl -H “Content-Type: application/json” -XPUT http://ip:9200/griffin/_settings -d ‘{“index.mapping.total_fields.limit”: 50000}’
更多推荐
已为社区贡献1条内容
所有评论(0)