# Disable lowercase\_expanded\_terms server-side?

**URL:** <https://discuss.elastic.co/t/disable-lowercase-expanded-terms-server-side/17608>\
**Category:** Elasticsearch\
**Created:** [May 20, 2014, 2:39am UTC](https://discuss.elastic.co/t/disable-lowercase-expanded-terms-server-side/17608 "2014-05-20T02:39:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dshelepov](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@dshelepov](https://discuss.elastic.co/u/dshelepov)\
**Post date:** [May 20, 2014, 2:39am UTC](https://discuss.elastic.co/t/disable-lowercase-expanded-terms-server-side/17608/1 "2014-05-20T02:39:59Z")

</div>

Is it possible to configure elasticsearch not to lowercase Query String  
queries without having to specifying "lowercase\_expanded\_terms" on every  
request? Background: I am trying to disable this functionality without  
modifying Kibana source code.

--  
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/4cf529d0-91e1-4844-8522-25ade680426f%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/4cf529d0-91e1-4844-8522-25ade680426f%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [May 20, 2014, 3:02pm UTC](https://discuss.elastic.co/t/disable-lowercase-expanded-terms-server-side/17608/2 "2014-05-20T15:02:49Z")

</div>

You can create a new custom analyzer that mimics the standard analyzer, but  
without the lowercase filter. Of course, you would need to reindex data.

--  
Ivan

On Mon, May 19, 2014 at 7:39 PM, [dshelepov@gmail.com](mailto:dshelepov@gmail.com) wrote:

> Is it possible to configure elasticsearch not to lowercase Query String  
> queries without having to specifying "lowercase\_expanded\_terms" on every  
> request? Background: I am trying to disable this functionality without  
> modifying Kibana source code.
> 
> --  
> 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/4cf529d0-91e1-4844-8522-25ade680426f%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/4cf529d0-91e1-4844-8522-25ade680426f%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/4cf529d0-91e1-4844-8522-25ade680426f%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/4cf529d0-91e1-4844-8522-25ade680426f%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CALY%3DcQCPCfr00u%2BneoBUbD68tsoJ4vf62UKPaoFQzL87gMk0yw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQCPCfr00u%2BneoBUbD68tsoJ4vf62UKPaoFQzL87gMk0yw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![dshelepov](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@dshelepov](https://discuss.elastic.co/u/dshelepov)\
**Post date:** [May 20, 2014, 4:42pm UTC](https://discuss.elastic.co/t/disable-lowercase-expanded-terms-server-side/17608/3 "2014-05-20T16:42:54Z")

</div>

Thanks. I've already tried that before posting (by the way, because I'm  
interesting in modifying search analysis behaviour, not indexing analysis,  
I'm not sure there would be a need to reindex), but it doesn't work.

I have a custom search analyzer that uses keyword tokenizer and no  
filters. So there should be no lowercasing occurring at search time.  
However when I use Query String queries, I still have my query strings  
lowercased unless I specify lowercase\_expanded\_terms:false. My conclusion  
is that this query does a round of lowercasing that is separate and  
independent from search-time analysis lowercasing. Hence the question if  
it's possible to disable it.

On Tuesday, May 20, 2014 8:02:49 AM UTC-7, Ivan Brusic wrote:

> You can create a new custom analyzer that mimics the standard analyzer,  
> but without the lowercase filter. Of course, you would need to reindex data.
> 
> --  
> Ivan
> 
> On Mon, May 19, 2014 at 7:39 PM, \<[dshe...@gmail.com](mailto:dshe...@gmail.com) \<javascript:\>\> wrote:
> 
> > Is it possible to configure elasticsearch not to lowercase Query String  
> > queries without having to specifying "lowercase\_expanded\_terms" on every  
> > request? Background: I am trying to disable this functionality without  
> > modifying Kibana source code.
> > 
> > --  
> > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/4cf529d0-91e1-4844-8522-25ade680426f%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/4cf529d0-91e1-4844-8522-25ade680426f%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/4cf529d0-91e1-4844-8522-25ade680426f%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/4cf529d0-91e1-4844-8522-25ade680426f%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/d8030978-50a2-413f-88ee-5298a23ca408%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/d8030978-50a2-413f-88ee-5298a23ca408%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:28am UTC](https://discuss.elastic.co/t/disable-lowercase-expanded-terms-server-side/17608/4 "2017-07-06T01:28:04Z")

</div>


