Shouldn't these two queries return the same result? That doesn't seem to
be the case. The first query returns the correct result. But the second
one does not. It seems that the second query does not properly handle the
fact that there are multiple instances. The sum of counts from the first
query correctly exceed the number of documents since there are multiple
instances in each document. However, it seems the sum of counts in the
second query equals the total number of documents so it isn't "flattening"
out the instances.
Our documents have a map of entities, each entity has an array of
instances, each instance has an attributes object.
Is this the intended behavior?
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 firstname.lastname@example.org.
For more options, visit https://groups.google.com/groups/opt_out.