I'm also running into this it is not what I expected. I tried parent/child and got the same behavior. I expect the filtering to narrow down the results with each filter. I filter on a child (or nested) that has property=p then go back to aggregate on the parent and I get all the results again as if the filter is not applied.
I can include sample data, mapping, and queries if someone wants to comment. I'm trying to do clickstream analysis on session events and user actions. The data models I am trying are where the session is the parent event with user actions as the child (or nested) events. I've tried several different models and have not found one that works well. -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/bbc238d6-9f60-4ede-b311-9d522f930120%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
