# Range over ICU analyzed field

**URL:** <https://discuss.elastic.co/t/range-over-icu-analyzed-field/22835>\
**Category:** Elasticsearch\
**Created:** [March 23, 2015, 8:49pm UTC](https://discuss.elastic.co/t/range-over-icu-analyzed-field/22835 "2015-03-23T20:49:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lpoole](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@lpoole](https://discuss.elastic.co/u/lpoole)\
**Post date:** [March 23, 2015, 8:49pm UTC](https://discuss.elastic.co/t/range-over-icu-analyzed-field/22835/1 "2015-03-23T20:49:17Z")

</div>

Hey guys,

I just realized that for query\_string\_queries, range query terms are not  
analyzed.

Our index is configured with fields to allow sorting with ICU collation:

"sort\_range\_analyzer" : {  
"type" : "custom",  
"tokenizer" : "whitespace",  
"filter" : ["lowercase", "en\_stop", "icu\_en\_collator"]  
},

We want to allow our client to query for a range within this field using a query like:

"query" : { "range" : { "field.range" : { "gte" : "a", "lte" : "b" }}},

Is this possible?

--  
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/2314572e-6431-413c-9114-8ae5b7f859ad%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/2314572e-6431-413c-9114-8ae5b7f859ad%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, 12:24am UTC](https://discuss.elastic.co/t/range-over-icu-analyzed-field/22835/2 "2017-07-06T00:24:42Z")

</div>

Closed on July 6, 2017, 12:24am UTC


