Skip to content
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

Support the search 'fields' option in 'inner_hits'. #61949

Closed
jtibshirani opened this issue Sep 3, 2020 · 1 comment
Closed

Support the search 'fields' option in 'inner_hits'. #61949

jtibshirani opened this issue Sep 3, 2020 · 1 comment
Labels
>enhancement :Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team

Comments

@jtibshirani
Copy link
Contributor

Other field retrieval options like _source and docvalues_fields are available in the inner_hits block. We should also support the search fields option added in #60100.

This is a spin-off of the meta issue #60985.

@jtibshirani jtibshirani added >enhancement :Search/Search Search-related issues that do not fall into other categories labels Sep 3, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search (:Search/Search)

@elasticmachine elasticmachine added the Team:Search Meta label for search team label Sep 3, 2020
jtibshirani added a commit that referenced this issue Sep 14, 2020
This PR adds support for the 'fields' option in the following places:
* Anytime `inner_hits` is used, for both fetching nested/ child docs and field collapsing
* The `top_hits` aggregation

Addresses #61949.
jtibshirani added a commit to jtibshirani/elasticsearch that referenced this issue Sep 14, 2020
This PR adds support for the 'fields' option in the following places:
* Anytime `inner_hits` is used, for both fetching nested/ child docs and field collapsing
* The `top_hits` aggregation

Addresses elastic#61949.
jtibshirani added a commit that referenced this issue Sep 14, 2020
This PR adds support for the 'fields' option in the following places:
* Anytime `inner_hits` is used, for both fetching nested/ child docs and field collapsing
* The `top_hits` aggregation

Addresses #61949.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement :Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team
Projects
None yet
Development

No branches or pull requests

2 participants