The TopChildren query works with an estimated hit size, and the
TotalHits might be incorrect if there are more child docs matching the
required hits.
How does that affect facets or aggregations defined on the parent
document? Would their count might be likewise be incorrent? Or would they
cause the TopChildren to actually expand to look for all possible children?
I will answer myself:
The facets are counted in relation to the total_hits in the response. This
is true just as well when using TopChildren.
בתאריך יום שלישי, 5 באוגוסט 2014 11:11:02 UTC+3, מאת Adam Porat:
Hi,
The TopChildren query works with an estimated hit size, and the
TotalHits might be incorrect if there are more child docs matching the
required hits.
How does that affect facets or aggregations defined on the parent
document? Would their count might be likewise be incorrent? Or would they
cause the TopChildren to actually expand to look for all possible children?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.