# Completion suggester returning incorrect scores

**URL:** <https://discuss.elastic.co/t/completion-suggester-returning-incorrect-scores/34340>\
**Category:** Elasticsearch\
**Created:** [November 11, 2015, 4:44pm UTC](https://discuss.elastic.co/t/completion-suggester-returning-incorrect-scores/34340 "2015-11-11T16:44:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jelmer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jelmer/32/3550_2.png) [@jelmer](https://discuss.elastic.co/u/jelmer)\
**Post date:** [November 11, 2015, 4:44pm UTC](https://discuss.elastic.co/t/completion-suggester-returning-incorrect-scores/34340/1 "2015-11-11T16:44:33Z")

</div>

I am playing around with the completion suggester and I am not getting the scores i expect from it

To reproduce this

1. create the index

2. add 2 documents to the index

3. Query the for the documents

This will give the following result

```
{
   "_shards": {
      "total": 1,
      "successful": 1,
      "failed": 0
   },
   "autocomplete-suggest": [
      {
         "text": "m",
         "offset": 0,
         "length": 1,
         "options": [
            {
               "text": "mazda",
               "score": 53477372
            },
            {
               "text": "mercedes",
               "score": 53477372
            }
         ]
      }
   ]
}

```

Clearly for mazda the score should be 53477371 and for mercedes the score should be 53477373 but in both cases elastic decides that the score is 53477372

Can somebody explain why this is happening ?

I am using elastic search 1.7.1

---

<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 5, 2017, 11:39pm UTC](https://discuss.elastic.co/t/completion-suggester-returning-incorrect-scores/34340/2 "2017-07-05T23:39:09Z")

</div>


