toptal / chewy

High-level Elasticsearch Ruby framework based on the official elasticsearch-ruby client
MIT License
1.88k stars 364 forks source link

Add inner_hits DSL #950

Open loqimean opened 3 months ago

loqimean commented 3 months ago

Is your feature request related to a problem? Please describe.

Issues not listed yet, but I create new one right now!

Describe the solution you'd like

There is no interface to get inner_hits from my result record

Describe alternatives you've considered

Would be fine to add method like inner_hits, simple for now, to retrive an array of inner_hits

Additional context

I have no one, just links to original docs: https://www.elastic.co/guide/en/elasticsearch/reference/current/inner-hits.html