-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
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
parseEsResponse
not able to parse a "document not found" response
#290
Comments
Did you use |
I'm using But the documentation of The exception is thrown when I call |
It's a bit weird, we have a test for this scenario, maybe the new interface will fix ambiguity. I also have to make tests run against OpenSearch. |
I get the same exception, also using Elasticsearch v 1.3.2, see below for details. I checked the parse code, and the problem seems to be that ES does not provide a The ES response in this case contains these fields:
But a status field is required by the JSON parser for
The above parser is used in:
In the above code, My ES version is:
|
Hello @1chb, Thanks for the report. Are you using hackage version or the git version? IIRC, it was fixed on the main branch, I'll have to do a release. |
Hackage. |
I have made a release |
Version: OpensSearch 1.3.2.
It throws the following exception:
The text was updated successfully, but these errors were encountered: