We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following exception is raised when deleting twice a document from an index:
** (FunctionClauseError) no function clause matching in Elasticsearch.Exception.build/2 lib/elasticsearch/exception.ex:35: Elasticsearch.Exception.build(%{"_id" => "54", "_index" => "listings-1525371175", "_primary_term" => 1, "_seq_no" => 42, "_shards" => %{"failed" => 0, "successful" => 1, "total" => 2}, "_type" => "_doc", "_version" => 14, "result" => "not_found"}, nil) lib/elasticsearch/exception.ex:22: Elasticsearch.Exception.exception/1 lib/elasticsearch.ex:389: Elasticsearch.format/1 (re) lib/re_web/search/server.ex:57: ReWeb.Search.Server.handle_cast/2 (stdlib) gen_server.erl:616: :gen_server.try_dispatch/4 (stdlib) gen_server.erl:686: :gen_server.handle_msg/6 (stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3
Seems like Elasticsearech.Exception.build/2 is not expecting "result" => "not_found" as a result. Elasticsearch version: 6.2.4
Elasticsearech.Exception.build/2
"result" => "not_found"
6.2.4
The text was updated successfully, but these errors were encountered:
[#28] Support not_found response in Exception
72c492a
Closes #28.
Merge pull request #32 from infinitered/28-not-found-exception
fbf4b91
No branches or pull requests
The following exception is raised when deleting twice a document from an index:
Seems like
Elasticsearech.Exception.build/2
is not expecting"result" => "not_found"
as a result.Elasticsearch version:
6.2.4
The text was updated successfully, but these errors were encountered: