-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Bad error message when misspelling docs in _mget #23720
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
Labels
:Distributed Indexing/CRUD
A catch all label for issues around indexing, updating and getting a doc by id. Not search.
>enhancement
Comments
Do you mean that instead |
Looks like the keys should be validated here. And the value type should also be validated as well. Right now it only looks for array. Anything else is silently ignored. |
LewayneNaidoo
added a commit
to LewayneNaidoo/elasticsearch
that referenced
this issue
Mar 23, 2017
kblincoe
added a commit
to kblincoe/elasticsearch
that referenced
this issue
Mar 23, 2017
Group LT would like to claim elastic#23720
LewayneNaidoo
added a commit
to LewayneNaidoo/elasticsearch
that referenced
this issue
Mar 24, 2017
kblincoe
added a commit
to kblincoe/elasticsearch
that referenced
this issue
Apr 3, 2017
Fix issue elastic#23720 and issue elastic#23699
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
:Distributed Indexing/CRUD
A catch all label for issues around indexing, updating and getting a doc by id. Not search.
>enhancement
Elasticsearch version: 5.x
JVM version: 8
OS version: OSX 10.11.6
Description of the problem including expected versus actual behavior: When searching _mget and passing
{"doc": []}
(misspellingdocs
), should throw a better error message when seeing the array.Steps to reproduce:
doc
instead ofdocs
:Error:
@dakrone
The text was updated successfully, but these errors were encountered: