# Results returned by elasticsearch are inaccurate

**URL:** <https://discuss.elastic.co/t/results-returned-by-elasticsearch-are-inaccurate/22942>\
**Category:** Elasticsearch\
**Created:** [March 27, 2015, 11:40am UTC](https://discuss.elastic.co/t/results-returned-by-elasticsearch-are-inaccurate/22942 "2015-03-27T11:40:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![siddusrikanth](https://avatars.discourse-cdn.com/v4/letter/s/f0a364/32.png) [@siddusrikanth](https://discuss.elastic.co/u/siddusrikanth)\
**Post date:** [March 27, 2015, 11:40am UTC](https://discuss.elastic.co/t/results-returned-by-elasticsearch-are-inaccurate/22942/1 "2015-03-27T11:40:27Z")

</div>

I am using elasticsearch-1.4.4 and i started working on elasticsearch since a month. currently i am having an es cluster with 1 gb of log data indexed. I am currently maintaining a single shard as I am working on a single machine.  
curl -XGET localhost:9200/index/\_count -d '  
{  
"query":{  
"term":{"some\_id":"3383912"}  
}  
}'  
and its result is 124580  
where i ran grep for same on the file i indexed i can see total count is 175745  
not only count, but also \_search and top N aggregation everything gave me the same count.  
i tried on various machines and various fields but always my results are inaccurate. can anyone please help me know where i am going wrong.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:23am UTC](https://discuss.elastic.co/t/results-returned-by-elasticsearch-are-inaccurate/22942/2 "2017-07-06T00:23:29Z")

</div>


