# Best way to replace abbreviated words in a search (e.g. : "av" for "avenue")

**URL:** <https://discuss.elastic.co/t/best-way-to-replace-abbreviated-words-in-a-search-e-g-av-for-avenue/22330>\
**Category:** Elasticsearch\
**Created:** [February 23, 2015, 1:10pm UTC](https://discuss.elastic.co/t/best-way-to-replace-abbreviated-words-in-a-search-e-g-av-for-avenue/22330 "2015-02-23T13:10:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cornet\_remi](https://avatars.discourse-cdn.com/v4/letter/c/a3d4f5/32.png) [@cornet\_remi](https://discuss.elastic.co/u/cornet_remi)\
**Post date:** [February 23, 2015, 1:10pm UTC](https://discuss.elastic.co/t/best-way-to-replace-abbreviated-words-in-a-search-e-g-av-for-avenue/22330/1 "2015-02-23T13:10:38Z")

</div>

Hello everyone,

I'm doing a REST application that allows users to search on addresses  
indexed in ElasticSearch.  
To increase its effectiveness, I have to find results on abbreviated words  
(eg : "str" for "street", "av" for "avenue" ...)

I'm not sure how to do that, is there a tool in ElasticSearch dedicated to  
this kind of functionality ?  
Somebody can help me with that ? : )

--  
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/52eaec5e-463f-4bac-a23e-fe8bb9fc91a5%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/52eaec5e-463f-4bac-a23e-fe8bb9fc91a5%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![davidbkemp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidbkemp/32/594_2.png) [@davidbkemp](https://discuss.elastic.co/u/davidbkemp)\
**Post date:** [February 24, 2015, 6:59am UTC](https://discuss.elastic.co/t/best-way-to-replace-abbreviated-words-in-a-search-e-g-av-for-avenue/22330/2 "2015-02-24T06:59:46Z")

</div>

I have successfully used a Synonym Token Filter to do this, but I had access to a nice file of street type synonyms.

[http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/analysis-synonym-tokenfilter.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/analysis-synonym-tokenfilter.html)

--  
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/56ba7e30-7490-4584-b906-754285a5d179%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/56ba7e30-7490-4584-b906-754285a5d179%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![cornet\_remi](https://avatars.discourse-cdn.com/v4/letter/c/a3d4f5/32.png) [@cornet\_remi](https://discuss.elastic.co/u/cornet_remi)\
**Post date:** [February 24, 2015, 7:52am UTC](https://discuss.elastic.co/t/best-way-to-replace-abbreviated-words-in-a-search-e-g-av-for-avenue/22330/3 "2015-02-24T07:52:37Z")

</div>

This is probably what I need !  
Thank you very much David.

--  
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/82fa1bf2-68a4-4c2d-ace2-28f6d2256602%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/82fa1bf2-68a4-4c2d-ace2-28f6d2256602%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:30am UTC](https://discuss.elastic.co/t/best-way-to-replace-abbreviated-words-in-a-search-e-g-av-for-avenue/22330/4 "2017-07-06T00:30:34Z")

</div>


