-
Notifications
You must be signed in to change notification settings - Fork 25.1k
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
GET
api does not return _ignored
by default
#107750
Comments
Pinging @elastic/es-search (Team:Search) |
Pinging @elastic/es-search-foundations (Team:Search Foundations) |
The elasticsearch/server/src/main/java/org/elasticsearch/index/get/ShardGetService.java Line 322 in f2ac0ed
We get the response,
I think that GET API / stored_fields Documenation should be updated to reflect that change. |
@javanna, is my assumption correct? Is it something that should be documented, or was an unintentional bug introduced? |
Thanks @drempapis this helps a lot, I asked in the related PR that introduced the change if it was on purpose and what the suggested way to move forward is. |
Hey @nik9000, can you please provide feedback to the question #89778 (comment) ? |
Hey! Sorry I didn't notice the ping. I'm subscribed to too much of ES and then I filter by subject line. I really should filter down what I receive so I get actual pings.... OK! It looks like I did comment in the original PR: #89778 (comment) - short version is that "no, I didn't intend to make this change". I really just wanted weird internal details of synthetic_source to stop leaking into the response. If Anyway! I think this is "just" a bug and we should default to returning |
It's probably not a bug I'm going to work on any time soon though. I'm a long way from |
Elasticsearch Version
8.5.0 and above
Installed Plugins
No response
Java Version
bundled
OS Version
All
Problem Description
I discovered this issue while working on #101373. The
GET
api used to return the_ignored
field by default and did so up to version8.4.3
. From8.5.0
the_ignored
field is not returned anymore by default and requires users to explicitly ask for the_ignored
field to be included by adding_ignored
tostored_fields
.Steps to Reproduce
I used the following test to reproduce the issue
Testing this with version
8.4.3
and8.5.0
reveals a difference in behaviour which was never reported as a breaking change for8.5.0
. Results are as follows for8.4.3
:while as follows for
8.5.0
:Logs (if relevant)
No response
The text was updated successfully, but these errors were encountered: