I will answer myself:
Any queried type (the parent or any one of its children), if there should
be a filter on it, should be queried using a *filtered query* clause. Any
filtered field should come under the filtered-query *filter *clause, and
any analyzed or score-affecting field should come
Hi,
I need to perform a query + filter on child documents. For the query, I'm
using TopChildren.
Now I wonder what would be more efficient regarding query on *date/numeric
(no score needed) fields* of this child -
should I query on these fields using a HasChild filter in a bool query