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

Field caps: return intermediate fields not just leaves #33237

Closed
costin opened this issue Aug 29, 2018 · 2 comments
Closed

Field caps: return intermediate fields not just leaves #33237

costin opened this issue Aug 29, 2018 · 2 comments
Labels
>feature :Search/Search Search-related issues that do not fall into other categories

Comments

@costin
Copy link
Member

costin commented Aug 29, 2018

Currently fieldCaps API returns only the leave fields without any info on 'compound' field such as object or nested or join.
To wit, given an inner field, say a.b it is impossible to determine what type a is.

@costin costin added :Search/Search Search-related issues that do not fall into other categories team-discuss labels Aug 29, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search-aggs

@jimczi
Copy link
Contributor

jimczi commented Sep 4, 2018

We discussed this during our team meeting, there was no objections so we're going to add an entry for each object or nested field in the mapping. We'll keep a flat map and return each non-leaf field as any other field using a single level.

jimczi added a commit to jimczi/elasticsearch that referenced this issue Sep 18, 2018
This commit adds nested and object fields to the field capabilities response.

Closes elastic#33237
jimczi added a commit that referenced this issue Sep 26, 2018
This commit adds nested and object fields to the field capabilities response.

Closes #33237
jimczi added a commit that referenced this issue Sep 26, 2018
This commit adds nested and object fields to the field capabilities response.

Closes #33237
kcm pushed a commit that referenced this issue Oct 30, 2018
This commit adds nested and object fields to the field capabilities response.

Closes #33237
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>feature :Search/Search Search-related issues that do not fall into other categories
Projects
None yet
Development

No branches or pull requests

3 participants