# Case-sensitive results from Autosuggestion feature?

**URL:** <https://discuss.elastic.co/t/case-sensitive-results-from-autosuggestion-feature/12477>\
**Category:** Elasticsearch\
**Created:** [June 19, 2013, 10:07am UTC](https://discuss.elastic.co/t/case-sensitive-results-from-autosuggestion-feature/12477 "2013-06-19T10:07:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stefan\_Meiwald](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@Stefan\_Meiwald](https://discuss.elastic.co/u/Stefan_Meiwald)\
**Post date:** [June 19, 2013, 10:07am UTC](https://discuss.elastic.co/t/case-sensitive-results-from-autosuggestion-feature/12477/1 "2013-06-19T10:07:07Z")

</div>

Hey,

I am currently experimenting with the new autosuggestion from verson 0.90.  
It actually works great for me but I noticed that alle the  
suggestionresults are coming back in lowercase. I am trying to impement the  
autosuggestion for a german website and it can be quite confusing for  
german users if you get only lowercase suggestions because Nouns are always  
written in Upper Case in German. Is there any possibility to get the  
suggestion in the case in which it is saved in the documents?

Gist with Request and Result:  
[https://gist.github.com/MeiSign/5813196](https://gist.github.com/MeiSign/5813196)

Cheers,  
Stefan

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [June 20, 2013, 4:15pm UTC](https://discuss.elastic.co/t/case-sensitive-results-from-autosuggestion-feature/12477/2 "2013-06-20T16:15:51Z")

</div>

Never tried using the Suggest API, but I noticed you are specifying a  
german analyzer, which lowercases terms. I am assuming your "name" field  
also uses the same analyzer. Try using suggest on a field that is not  
lowercased. You would need to clone the current german analyzer.

Not sure how effective Suggest is on mixed case terms, but with your  
current setup, the terms will always be lowercased.

Cheers,

Ivan

On Wed, Jun 19, 2013 at 3:07 AM, Stefan Meiwald [st.meiwald@gmail.com](mailto:st.meiwald@gmail.com)wrote:

> Hey,
> 
> I am currently experimenting with the new autosuggestion from verson 0.90.  
> It actually works great for me but I noticed that alle the  
> suggestionresults are coming back in lowercase. I am trying to impement the  
> autosuggestion for a german website and it can be quite confusing for  
> german users if you get only lowercase suggestions because Nouns are always  
> written in Upper Case in German. Is there any possibility to get the  
> suggestion in the case in which it is saved in the documents?
> 
> Gist with Request and Result:  
> [https://gist.github.com/\*\*MeiSign/5813196](https://gist.github.com/**MeiSign/5813196)[https://gist.github.com/MeiSign/5813196](https://gist.github.com/MeiSign/5813196)
> 
> Cheers,  
> Stefan
> 
> --  
> 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).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:30am UTC](https://discuss.elastic.co/t/case-sensitive-results-from-autosuggestion-feature/12477/3 "2017-07-06T02:30:11Z")

</div>


