cancel
Showing results for 
Search instead for 
Did you mean: 

No mapping found for [newest] in order to sort on

No mapping found for [newest] in order to sort on

[2021-04-27 13:21:49] main.CRITICAL: {"error":{"root_cause":[{"type":"query_shard_exception","reason":"No mapping found for [newest] in order to sort on","index_uuid":"Ne4wxJQtRMCJt5ybOYBVrA","index":"magento2_product_1_v7"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"magento2_product_1_v7","node":"A4y9vPHrSkyu6nZILeT1EQ","reason":{"type":"query_shard_exception","reason":"No mapping found for [newest] in order to sort on","index_uuid":"Ne4wxJQtRMCJt5ybOYBVrA","index":"magento2_product_1_v7"}}]},"status":400} {"exception":"[object] (Elasticsearch\\Common\\Exceptions\\BadRequest400Exception(code: 400): {\"error\":{\"root_cause\":[{\"type\":\"query_shard_exception\",\"reason\":\"No mapping found for [newest] in order to sort on\",\"index_uuid\":\"Ne4wxJQtRMCJt5ybOYBVrA\",\"index\":\"magento2_product_1_v7\"}],\"type\":\"search_phase_execution_exception\",\"reason\":\"all shards failed\",\"phase\":\"query\",\"grouped\":true,\"failed_shards\":[{\"shard\":0,\"index\":\"magento2_product_1_v7\",\"node\":\"A4y9vPHrSkyu6nZILeT1EQ\",\"reason\":{\"type\":\"query_shard_exception\",\"reason\":\"No mapping found for [newest] in order to sort on\",\"index_uuid\":\"Ne4wxJQtRMCJt5ybOYBVrA\",\"index\":\"magento2_product_1_v7\"}}]},\"status\":400} at /home/gemstone/html/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:632)"} []
[2021-04-27 13:21:55] main.CRITICAL: {"error":{"root_cause":[{"type":"query_shard_exception","reason":"No mapping found for [newest] in order to sort on","index_uuid":"Ne4wxJQtRMCJt5ybOYBVrA","index":"magento2_product_1_v7"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"magento2_product_1_v7","node":"A4y9vPHrSkyu6nZILeT1EQ","reason":{"type":"query_shard_exception","reason":"No mapping found for [newest] in order to sort on","index_uuid":"Ne4wxJQtRMCJt5ybOYBVrA","index":"magento2_product_1_v7"}}]},"status":400} {"exception":"[object] (Elasticsearch\\Common\\Exceptions\\BadRequest400Exception(code: 400): {\"error\":{\"root_cause\":[{\"type\":\"query_shard_exception\",\"reason\":\"No mapping found for [newest] in order to sort on\",\"index_uuid\":\"Ne4wxJQtRMCJt5ybOYBVrA\",\"index\":\"magento2_product_1_v7\"}],\"type\":\"search_phase_execution_exception\",\"reason\":\"all shards failed\",\"phase\":\"query\",\"grouped\":true,\"failed_shards\":[{\"shard\":0,\"index\":\"magento2_product_1_v7\",\"node\":\"A4y9vPHrSkyu6nZILeT1EQ\",\"reason\":{\"type\":\"query_shard_exception\",\"reason\":\"No mapping found for [newest] in order to sort on\",\"index_uuid\":\"Ne4wxJQtRMCJt5ybOYBVrA\",\"index\":\"magento2_product_1_v7\"}}]},\"status\":400} at /home/gemstone/html/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:632)"} []

I am facing an issue with products not displayed on the front end after upgrading 2.3 to 2.4.1, the message is "We can't find products matching the selection". also I flush the cache and reindex but is still not working.


Please advise

 

Thanks .