Confirming: Each nested doc in a doc counts towards total count?

The total hits is always based on the number of root documents, so
excluding the hit count on the nested level.

On 24 July 2013 15:56, Justin Treher jtreher@gmail.com wrote:

I just wanted to confirm that

  1. the doc count ES provides for the index includes the sum of nested docs
    and top level docs in all types, and
  2. the doc count for the type includes just the sum of top level docs in
    the type?

Thanks!

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
Met vriendelijke groet,

Martijn van Groningen

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.