You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I'm having this error when trying to delete a not existing document on an index using delete_document. I am expecting this function to return an error tuple: {:error, %Elasticsearch.Exception{...} but It is not doing it on production (locally and on staging env it's working).
As a workaround, I am thinking I should check if a document is existing first before doing anything, does this package have a way to check that? like a get_document function? Thanks!
And also how do you get the raw data of an index?
The text was updated successfully, but these errors were encountered:
So I'm having this error when trying to delete a not existing document on an index using
delete_document
. I am expecting this function to return an error tuple:{:error, %Elasticsearch.Exception{...}
but It is not doing it on production (locally and on staging env it's working).As a workaround, I am thinking I should check if a document is existing first before doing anything, does this package have a way to check that? like a
get_document
function? Thanks!And also how do you get the raw data of an index?
The text was updated successfully, but these errors were encountered: