Not sure while working in local environment with elasticsearch
i m getting this weird error, any help would me appreciated. thanks
Elasticsearch::Transport::Transport::Errors::NotFound ([404] {"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"invoices","index":"invoices"}],"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"invoices","index":"invoices"},"status":404})
invoices
index you're hitting does not exist in your local ES server. – Valinvoice
model and i'm new for elastic search. i have updated the question with controller code, can you please have a look there. – Anand