# Analyze for text=to returns {"tokens":\[\]}

**URL:** <https://discuss.elastic.co/t/analyze-for-text-to-returns-tokens/12508>\
**Category:** Elasticsearch\
**Created:** [June 21, 2013, 11:44am UTC](https://discuss.elastic.co/t/analyze-for-text-to-returns-tokens/12508 "2013-06-21T11:44:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![valentyn\_vinogradski](https://avatars.discourse-cdn.com/v4/letter/v/bc79bd/32.png) [@valentyn\_vinogradski](https://discuss.elastic.co/u/valentyn_vinogradski)\
**Post date:** [June 21, 2013, 11:44am UTC](https://discuss.elastic.co/t/analyze-for-text-to-returns-tokens/12508/1 "2013-06-21T11:44:43Z")

</div>

Can somebody explain me: is this some keyword? hoshould i escape this?

--  
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:** ![jpountz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jpountz/32/45836_2.png) [@jpountz](https://discuss.elastic.co/u/jpountz)\
**Post date:** [June 21, 2013, 1:26pm UTC](https://discuss.elastic.co/t/analyze-for-text-to-returns-tokens/12508/2 "2013-06-21T13:26:20Z")

</div>

This is likely due to the fact that your are using the default analyzer,  
which handles "to" as a stopword. Have a look at the documentation to see  
how to configure analyzers[1] and stopwords in particular.

[1] [http://www.elasticsearch.org/guide/reference/index-modules/analysis/](http://www.elasticsearch.org/guide/reference/index-modules/analysis/)

--  
Adrien Grand

--  
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:** ![valentyn\_vinogradski](https://avatars.discourse-cdn.com/v4/letter/v/bc79bd/32.png) [@valentyn\_vinogradski](https://discuss.elastic.co/u/valentyn_vinogradski)\
**Post date:** [June 21, 2013, 2:30pm UTC](https://discuss.elastic.co/t/analyze-for-text-to-returns-tokens/12508/3 "2013-06-21T14:30:19Z")

</div>

Thanks, it what i needed

On Friday, June 21, 2013 4:26:20 PM UTC+3, Adrien Grand wrote:

> This is likely due to the fact that your are using the default analyzer,  
> which handles "to" as a stopword. Have a look at the documentation to see  
> how to configure analyzers[1] and stopwords in particular.
> 
> [1] [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/index-modules/analysis/)
> 
> --  
> Adrien Grand

--  
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:29am UTC](https://discuss.elastic.co/t/analyze-for-text-to-returns-tokens/12508/4 "2017-07-06T02:29:59Z")

</div>

Closed on July 6, 2017, 2:29am UTC


