# Unexpected Document Scoring

**URL:** <https://discuss.elastic.co/t/unexpected-document-scoring/4592>\
**Category:** Elasticsearch\
**Created:** [June 9, 2011, 9:26pm UTC](https://discuss.elastic.co/t/unexpected-document-scoring/4592 "2011-06-09T21:26:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thnguyen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thnguyen/32/3207_2.png) [@thnguyen](https://discuss.elastic.co/u/thnguyen)\
**Post date:** [June 9, 2011, 9:26pm UTC](https://discuss.elastic.co/t/unexpected-document-scoring/4592/1 "2011-06-09T21:26:26Z")

</div>

I'm seeing different scores for documents with the same field values.  
I've indexed two documents that look exactly like the following but  
with different ids:

{  
"\_index":"media",  
"\_type":"object",  
"\_id":"827003",  
"\_score":1.0,  
"\_source":{  
"title":"Grand Theft Auto 2",  
"alt\_title":"GTA 4",  
"some\_number":7  
}  
}

I then run the following search:

{  
"query":{  
"query\_string":{  
"default\_field":"title",  
"query":"grand theft auto"  
}  
}  
}

I expected the scoring of the two documents would be the same since  
I'm searching against the 'title' field but that isn't the case. What  
would be contributing to the different scores?

---

<div class="post-metadata">

**Author:** ![Clinton\_Gormley](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Clinton\_Gormley](https://discuss.elastic.co/u/Clinton_Gormley)\
**Post date:** [June 9, 2011, 9:33pm UTC](https://discuss.elastic.co/t/unexpected-document-scoring/4592/2 "2011-06-09T21:33:32Z")

</div>

On Thu, 2011-06-09 at 14:26 -0700, thnguyen wrote:

> I'm seeing different scores for documents with the same field values.  
> I've indexed two documents that look exactly like the following but  
> with different ids:

See this reply for an explanation:

[http://elasticsearch-users.115913.n3.nabble.com/Score-varying-for-same-values-tt3018717.html#a3019000](http://elasticsearch-users.115913.n3.nabble.com/Score-varying-for-same-values-tt3018717.html#a3019000)

clint

---

<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, 4:04am UTC](https://discuss.elastic.co/t/unexpected-document-scoring/4592/3 "2017-07-06T04:04:11Z")

</div>


