# Different docFreq and docCount for the same shard

**URL:** https://discuss.elastic.co/t/different-docfreq-and-doccount-for-the-same-shard/144083
**Category:** Elasticsearch
**Created:** [August 13, 2018, 6:56am UTC](https://discuss.elastic.co/t/different-docfreq-and-doccount-for-the-same-shard/144083 "2018-08-13T06:56:01Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![laigood](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/laigood/32/30060_2.png) [@laigood](https://discuss.elastic.co/u/laigood)
#### Post date: [August 13, 2018, 6:56am UTC](https://discuss.elastic.co/t/different-docfreq-and-doccount-for-the-same-shard/144083/1 "2018-08-13T06:56:02Z")

</div>

I try to figure out why my docs are ranked not as expect.I found that the 1st doc docFreq=1 and docCount=621,the other docs docFreq=29 and docCount=599,this index have only one shard and no replica.If i reindex the 1st doc,this issue fix,how this happen? ps:es version:5.6.8

I found the reason,it's different field's docFraq and docCount

---

<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: [September 10, 2018, 7:06am UTC](https://discuss.elastic.co/t/different-docfreq-and-doccount-for-the-same-shard/144083/2 "2018-09-10T07:06:05Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
