Categories
Magento

Magento2 Recommended OpCache Configuration

Magento is very demanding on component settings. Everything has to be carefully configured, especially the opCache in PHP. It is opCache that is mainly responsible for PHP’s performance.

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}'