skukx/solidus_recommendations

Error in solidus 2.1

sechix opened this issue · 2 comments

Hi, I have installed solidus_recommendations but I get this error in logout session or in checkout:

Elasticsearch::Transport::Transport::Errors::NotFound in Spree::UserSessionsController#destroy [404] {"error":{"root_cause":[{"type":"document_missing_exception","reason":"[user][1]: document missing","index_uuid":"jHv9zKYoQSWGS3lbE--EDg","shard":"3","index":"spree-user-development"}],"type":"document_missing_exception","reason":"[user][1]: document missing","index_uuid":"jHv9zKYoQSWGS3lbE--EDg","shard":"3","index":"spree-user-development"},"status":404}

skukx commented

I'll open a PR to rescue NotFound errors when deleting from the ES cluster. It's probable that the user wasn't imported into the cluster. You'll be able to compare the documents indexed by going to http://localhost:9200/_cat/indices?v

Ok, I will check. thanks