Hi Team, #elasticSearchIssue - Not able to fetch t...
# help
i
Hi Team, #elasticSearchIssue - Not able to fetch the data on storefront after regenerate During development, we had delete all the indices from elastic search using bulk action in our local instance. regenerated all the indices using sync:data CLI command& then flushed the cache via CLI command on hitting PDP on store front getting below error • "An exception has been thrown during the rendering of a template ("Spryker\Client\SearchElasticsearch\Exception\SearchResponseException - Something went wrong in widget "ProductDetailPageReviewWidget": Search failed with the following reason: Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [created-at] in order to load field data by uninverting the inverted index. Note that this can use significant memory. [reason: all shards failed]. Query: {"query":{"bool":{"filter":[{"match":{"id-product-abstract":2}}]}},"_source":["search-result-data"],"size":3,"from":0,"aggs":{"rating-aggregation":{"terms":{"field":"rating"}}},"sort":[{"created-at":{"order":"desc"}}]} in /data/vendor/spryker/search-elasticsearch/src/Spryker/Client/SearchElasticsearch/Search/Search.php:90"). has context menuCompose Can anyone help here ?
m
Did you execute these commands after deleting the indexes? • console searchsetupsourcesconsole searchsetupsource-map console publish:trigger-events In order to reindex the data again?