Categories
Magento

java.lang.IllegalArgumentException: Limit of total fields [1000] in index [magento2_product_1_v3] has been exceeded

It is because the default value of index.mapping.total_fields.limit is 1000. To increase it for some index to 2000 just run curl request:

curl -s -XPUT http://elasticsearch:9200/magento2_product_1_v3/_settings -H 'Content-Type: application/json' -d '{"index.mapping.total_fields.limit": 2000}'

Leave a Reply

Your email address will not be published. Required fields are marked *