# Spellcheck and completion suggester or what?

**URL:** <https://discuss.elastic.co/t/spellcheck-and-completion-suggester-or-what/18437>\
**Category:** Elasticsearch\
**Created:** [July 2, 2014, 11:58am UTC](https://discuss.elastic.co/t/spellcheck-and-completion-suggester-or-what/18437 "2014-07-02T11:58:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bernd\_Fehling\_2](https://avatars.discourse-cdn.com/v4/letter/b/d07c76/32.png) [@Bernd\_Fehling\_2](https://discuss.elastic.co/u/Bernd_Fehling_2)\
**Post date:** [July 2, 2014, 11:58am UTC](https://discuss.elastic.co/t/spellcheck-and-completion-suggester-or-what/18437/1 "2014-07-02T11:58:24Z")

</div>

Hi group, I have a special problem which I'm trying to solve.  
I need search suggestions while typing text into a search box.  
I tried different settings and options with ES, including term suggester,  
completion suggester and so on, but no success.

What I'm looking for is if I type in a search and I have already typed  
"dan" that I get suggestions like:  
{

- responseHeader:  
{
  - status: 0,
  - QTime: 11  
},

- spellcheck:  
{
  - 
## suggestions: [
[  
- "dan",  
-  
{  
- numFound: 9,  
- startOffset: 0,  
- endOffset: 3,  
- suggestion:  
[  
- "dana",  
- "danach",  
- "danckert",  
- "dando",  
- "danger",  
- "dangos",  
- "danguolė",  
- "daniel",  
- "danish"  
]  
}  
]  
]  
}

}

So just the suggestions in alphabetical order from the index.  
The above example is from SOLR but I need this feature for ES.  
Any idea how to achive this?

Regards, Bernd

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/3cd3b917-7680-416c-b92e-e0ee0a91a601%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/3cd3b917-7680-416c-b92e-e0ee0a91a601%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 1:18am UTC](https://discuss.elastic.co/t/spellcheck-and-completion-suggester-or-what/18437/2 "2017-07-06T01:18:25Z")

</div>


