# What does suggestMode missing mean?

**URL:** https://discuss.elastic.co/t/what-does-suggestmode-missing-mean/165970
**Category:** Elasticsearch
**Created:** [January 28, 2019, 9:39am UTC](https://discuss.elastic.co/t/what-does-suggestmode-missing-mean/165970 "2019-01-28T09:39:26Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Martin\_Kruger](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@Martin\_Kruger](https://discuss.elastic.co/u/Martin_Kruger)
#### Post date: [January 28, 2019, 9:39am UTC](https://discuss.elastic.co/t/what-does-suggestmode-missing-mean/165970/1 "2019-01-28T09:39:26Z")

</div>

Hi,

what does the suggestMode missing for the TermSuggester mean?  
I get no clue from the [documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters-term.html).

Greetings,  
Martin

---

<div class="post-metadata">

### Author: ![abdon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abdon/32/9195_2.png) [@abdon](https://discuss.elastic.co/u/abdon)
#### Post date: [January 29, 2019, 1:44pm UTC](https://discuss.elastic.co/t/what-does-suggestmode-missing-mean/165970/2 "2019-01-29T13:44:49Z")

</div>

Let's say you use the term suggester to get suggestions for two terms that a user has typed in a search box:

`foo bar`

The term suggester will give you a separate set of "did you mean" suggestions for the term `foo` and for the term `bar`. With suggest mode `missing`, you will only get suggestions for a term _if that term does not actually occur in your documents_.

So, if any of the documents actually contains the term `foo` (or more specifically, the field that you're deriving the suggestions from) then you will not get any suggestions for `foo`. And if any of the documents contains the term `bar` you will not get any suggestions for that term.

The idea is that if a term actually occurs in your documents, then it may not have been misspelled by the user, and then there's no need to provide any "did you mean" suggestions for that term.

---

<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: [February 26, 2019, 1:44pm UTC](https://discuss.elastic.co/t/what-does-suggestmode-missing-mean/165970/3 "2019-02-26T13:44:53Z")

</div>

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