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
source filtering on nested properties no longer returning empty when no nested documents. #23796
Elasticsearch version: 5.2.2
Plugins installed: none
JVM version: 1.8.0_111
OS version: Windows 10
Description of the problem including expected versus actual behavior:
Steps to reproduce:
Full script to reproduce:
Note that in the above the source filtering is excluding
Also note that this is not specific to nested documents. If you index the array as an embedded object (See below) you can reproduce the same thing:
high hanging fruit
Mar 31, 2017
Is it acceptable to restore previous behavior in a fix release?
@b-viguier yeah, this is a tricky area where we tried to fix things only ending up breaking something else (in this case your use case, sorry for that). We have decided to take a step back and think about the entire source filtering logic, including more edge cases. No ETA known at the moment.