I have problem with elasticsearch on catalog category pages. For some reasons on some pages i have this error:
ElasticsearchCommonExceptionsBadRequest400Exception: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"[size] parameter cannot be negative, found [-137]"}],"type":"illegal_argument_exception","reason":"[size] parameter cannot be negative, found [-137]"},"status":400} in /vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:693
Version of Magento is 2.4.3-p3 and for Elastichsearch version is 7.17.12
I am using Amasty Improved Layered Navigation and Amasty Elastich Search modules.
After reindexing data everthing back to normal and no error
Any idea why this error is showing?