# Question: Completion suggester behavior on String with number

**URL:** <https://discuss.elastic.co/t/question-completion-suggester-behavior-on-string-with-number/60578>\
**Category:** Elasticsearch\
**Created:** [September 15, 2016, 7:33am UTC](https://discuss.elastic.co/t/question-completion-suggester-behavior-on-string-with-number/60578 "2016-09-15T07:33:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Glenn\_Van\_Schil](https://avatars.discourse-cdn.com/v4/letter/g/e9c0ed/32.png) [@Glenn\_Van\_Schil](https://discuss.elastic.co/u/Glenn_Van_Schil)\
**Post date:** [September 15, 2016, 7:33am UTC](https://discuss.elastic.co/t/question-completion-suggester-behavior-on-string-with-number/60578/1 "2016-09-15T07:33:23Z")

</div>

I've build an Auto-complete service with Elasticsearch 2.x.x. and one of my auto-completable values is "3M". I've configured the fuzziness to AUTO and my mapping is just default:

```
"mapping": {
    "type": "completion",
     "analyzer": "simple",
     "payloads": false,
     "preserve_separators": true,
     "preserve_position_increments": true,
     "max_input_length": 50
}

```

Based on [this documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters-completion.html) the analyzers should be simple and Fuzziness AUTO means at **MAX** 2 spelling errors when a auto-completable word is \>5 characters.

Here's the problem, whenever I type "1000000M" it still auto-completes "3M" although 1000000 and 3 are exceeding the limit of 2 spelling errors.

Does Elastic knows 1000000 and 3 are both numbers and I'm looking for {a number}M?

I would like the numbers to behave as actual String spelling errors because this is not the preferred behavior.

Even when I set Fuzziness to ZERO, it still corrects 1000000M to 3M.

_original post: [http://stackoverflow.com/questions/39491013/elasticsearch-suggestresponse-wrong-on-string-with-number](http://stackoverflow.com/questions/39491013/elasticsearch-suggestresponse-wrong-on-string-with-number)_

---

<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, 10:20pm UTC](https://discuss.elastic.co/t/question-completion-suggester-behavior-on-string-with-number/60578/2 "2017-07-05T22:20:04Z")

</div>


