Disable lowercase_expanded_terms server-side?


(dshelepov) #1

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/4cf529d0-91e1-4844-8522-25ade680426f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Ivan Brusic) #2

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 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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/4cf529d0-91e1-4844-8522-25ade680426f%40googlegroups.comhttps://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.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQCPCfr00u%2BneoBUbD68tsoJ4vf62UKPaoFQzL87gMk0yw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(dshelepov) #3

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 <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 <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/4cf529d0-91e1-4844-8522-25ade680426f%40googlegroups.comhttps://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.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/d8030978-50a2-413f-88ee-5298a23ca408%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #4