Based on the official docs
(http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-has-child-filter.html):
{quote}
memory considerations
With the current implementation, all _parent field values and all _id field
values of parent documents are loaded into memory (heap) via field data in
order to support fast lookups, so make sure there is enough memory for it.
{/quote}
Does this mean that all the parent docs will be loaded into memory or the ones
matching the filter? If the former is true, then it would mean that one should
keep the size of the parent objects to minimum, right? In addition, say
has_child is a part of a conjunction (regular filter AND has_child), would ES
still load all the parent docs, or only the ones that matched the first filter?
Thanks,
Drew
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/FE901831-FB74-4F89-A313-16C1C08BF0A5%40venarc.com.
For more options, visit https://groups.google.com/d/optout.