question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for aggregation/filtering on nested objects

See original GitHub issue

We need some support for aggregating and filtering on nested objects in ES. Per discussions on the searchkit chat, the proposition was adding a NestedMenuFilter component to handle this use case.

@GregoryPotdevin brought up that there may be api changes needed to support this feature.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:19 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
king-of-the-ringcommented, Aug 29, 2016

@ssetem I think nested aggregation should apply reverse nested

As right now, the field returns the count of the inner-hits / nested documents and not the count of main / parent documents

0reactions
ssetemcommented, Oct 6, 2017

going to close as implemented.

Reverse nested will be tracked in #351

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to filter nested objects in nested aggregation
If it is a nested field, you can filter searchByName.name not within the "query" clause, but using filter aggregation under the nested ......
Read more >
MongoDB aggregation filtering of a nested object
I need to filter an array of nested objects and only return those which have active.email set to true. So far I have...
Read more >
Filtering on a deeper nested object within a nested aggregation
I realise I could do another nested aggregation onto checkitems, filter on check type and reverse nest back up. That works for this...
Read more >
Filtering a nested array of subdocuments without - MongoDB
I have a collection with a nested array of subdocuments. I'd like to filter out the subdocuments in this nested array that have...
Read more >
Search and Filtering - GraphQL - Dgraph
You can also filter nested objects while querying for a list of objects. For example, the following query fetches all of the authors...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found