-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
inconsistency between source filtering names in query parameter vs request body #22792
Comments
Hello, I'm looking for my first contribution to elasticsearch. I'll take it up. I'm familiarizing myself with the code base. |
If this bug hasn't been fixed yet, I would like to work on it, starting today. Thank you! |
Sure. Not an issue.
FYI for headstart, this is not present in master , but only in the version
it's raised and master branch uses slightly different APIs to parse the
tokens. So, that change is not directly portable.
|
@djschny Is this required in 5.1.x? |
…mes in the query parameters vs request body
…consistency Ticket elastic#22792, fixed inconsistency between query parameters vs request body
Has the issue been fixed? |
It is still an issue. We'd want to deprecate the singular form in one PR which we'd merge to master and 6.x and then remove the singular form in a followup. These kinds of changes can be a bit tricky around the multi-version REST tests but the changes themselves are fairly simple. |
) Deprecates `_source_include` and `_source_exclude` url parameters in favor of `_source_inclues` and `_source_excludes` because those are consistent with the rest of Elasticsearch's APIs. Relates to #22792
) Deprecates `_source_include` and `_source_exclude` url parameters in favor of `_source_inclues` and `_source_excludes` because those are consistent with the rest of Elasticsearch's APIs. Relates to #22792
) Deprecates `_source_include` and `_source_exclude` url parameters in favor of `_source_inclues` and `_source_excludes` because those are consistent with the rest of Elasticsearch's APIs. Relates to #22792
Elasticsearch version: 5.1.1
Plugins installed: []
JVM version: 1.8.0_92-b14
OS version: Mac 10.12.2
Description of the problem including expected versus actual behavior:
In regards to source filtering and using include/exclude it appears @pickypg and I observed two discrepancies:
_source_include
in singular or plural form when used as a query parameter works fine, however when the singular form is used in the request body, an error is thrown and a plural version is required to be used.As a side note Console in Kibana is auto suggesting the singular version as well and will enter an issue there for that as well.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: