When I'm looking at ES head it is showing a count that is much higher than
my bulk index source. The only explanation is that it is including the
nested docs as part of its count. I know that head just pulls a stat call
on the server.
On Monday, July 29, 2013 5:58:02 AM UTC-4, Martijn v Groningen wrote:
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 <jtr...@gmail.com <javascript:>>wrote:
I just wanted to confirm that
the doc count ES provides for the index includes the sum of nested
docs and top level docs in all types, and
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 elasticsearc...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/groups/opt_out.
I thought you were talking about the doc count in the search api, so yes,
the stats shows the number of Lucene documents that are in your index and
this includes the nested docs.
When I'm looking at ES head it is showing a count that is much higher than
my bulk index source. The only explanation is that it is including the
nested docs as part of its count. I know that head just pulls a stat call
on the server.
On Monday, July 29, 2013 5:58:02 AM UTC-4, Martijn v Groningen wrote:
The total hits is always based on the number of root documents, so
excluding the hit count on the nested level.
the doc count ES provides for the index includes the sum of nested
docs and top level docs in all types, and
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 elasticsearc...@**googlegroups.com.
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.