Elasticsearch version: 2.2.1
JVM version: Oracle Java 8 (1.8.0_74)
OS version: Ubuntu Server 14.04.4 LTS
Description of the problem including expected versus actual behavior: /_cat/indices returns twice number of docs (docs.count column) than exists in the index.
curl -XGET 'http://127.0.0.1:9200/_cat/indices?v'
health status index pri rep docs.count docs.deleted store.size pri.store.size
green open index-1doc 2 1 2 0 39.9kb 19.9kb
green open index-1doc-1s0r 1 0 2 0 19.8kb 19.8kb
green open index-10000doc-7s3r 7 3 20000 0 76.3mb 19mb
Steps to reproduce:
- Feed a new index with N documents using bulk insert
- Query
/_cat/indices and check docs.count column
Elasticsearch version: 2.2.1
JVM version: Oracle Java 8 (1.8.0_74)
OS version: Ubuntu Server 14.04.4 LTS
Description of the problem including expected versus actual behavior:
/_cat/indicesreturns twice number of docs (docs.countcolumn) than exists in the index.Steps to reproduce:
/_cat/indicesand checkdocs.countcolumn