I was confused by the docs count value displaying in head plugin if there is nest type field define in mapping
For example, I created a new index with following mapping: { "mappings" : { "doc" : { "properties" : { "QueryClicks" : { "type" : "nested", "properties" : { "Count" : { "type" : "long" }, "Term" : { "type" : "string" } } }, "Title" : { "type" : "string" } } } } } And then insert ONE doc: { "QueryClicks":[{"Term":"term1","Count":10},{"Term":"term2","Count":10}], "Title":"test title" } Then refresh Head, the docs shown on Head is 3: size: 3.57ki (6.97ki) docs: 3 (3) Why? -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/f3148390-9174-4521-b97a-94f6cbfe4307%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.