-
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
Source filtering ("_source":false) don't work in collapse->inner_hits #23829
Comments
Thanks for the detailed report! I can reproduce this on 5.x and master. Although this is in the context of field collapsing, I suspect it's ultimately an |
As of 6.5.1, this particular sub-issue is still reproducible despite the parent issue being closed.
Perhaps this is specific to field-collapsing, or the main issue didn't resolve all parts of the problem. Notably, using the full-object representation of _source does succeed in delivering a result with an empty source field, i.e.
|
Pinging @elastic/es-search |
This change fixes the copy of the fetch source option into the expand search request that is used to retrieve the documents of each collapsed group. Closes elastic#23829
This change fixes the copy of the fetch source option into the expand search request that is used to retrieve the documents of each collapsed group. Closes #23829
This change fixes the copy of the fetch source option into the expand search request that is used to retrieve the documents of each collapsed group. Closes #23829
Elasticsearch version: 5.3.0
Plugins installed: []
JVM version:
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
OS version: Windows 10
Description of the problem including expected versus actual behavior:
Disabling "_source" retrieval (with setting it to false) don't work if used with collapse->inner_hits
Steps to reproduce:
Describe the feature:
The response still contains "_source" elements:
The text was updated successfully, but these errors were encountered: