Elasticsearch 1.7 parent child filter aggregation inconsistent result

filter by date range doesn't seem to work for child aggregation as outlined in gist: https://gist.github.com/khoan/7e98dd5310afb9c356ccede501b359b9

GET bam/events/_search returns two hits,
but filtered_by_user_id aggregation of GET bam/users/_search return 5 hits for user_id 123, and 3 hits for user_id 125
whereas I expect 1 hit for both user_id 123 and user_id 125.


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.