Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Missing filter works differently in top-level versus filtered query #3356
Given the following script: https://gist.github.com/dakrone/6034875
I was expecting the same output for both queries (no documents matched), but instead I get:
I hope its intentional the usage of null value set to true on hte missing filter, and not really have a null value on the mapping. It is a bug, which happens because the missing filter returns a null filter which ends up not matching anything with a filtered query, compared to top level filter.