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

Parent object in fields result #1891

Closed
eugeis opened this issue Apr 28, 2012 · 1 comment
Closed

Parent object in fields result #1891

eugeis opened this issue Apr 28, 2012 · 1 comment

Comments

@eugeis
Copy link

eugeis commented Apr 28, 2012

Hello,

I implemented parent support for elasticsearch-head. Now if parent exists for a type, the parent _source fields are displayed in the browser table. (https://github.com/eugeis/elasticsearch-head/commit/9cf167a105abf420976745ac178ae07c3be1740a)

But in the current implementation, I have to collect from first result all parent ids and parent types and then send a second "mget" request in order to get parent objects and then integrate it in the first result.

It would be nice have similar to "fields { "_parent" } definition in search request also like "fields { "_parent_object" } to get the parent object itself.

What do you think?

Thanks

@clintongormley
Copy link
Contributor

Closing in favour of #761.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants