# Using synonyms with built-in analyzers

**URL:** <https://discuss.elastic.co/t/using-synonyms-with-built-in-analyzers/116713>\
**Category:** Elasticsearch\
**Created:** [January 23, 2018, 4:38pm UTC](https://discuss.elastic.co/t/using-synonyms-with-built-in-analyzers/116713 "2018-01-23T16:38:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sramalin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sramalin/32/25821_2.png) [@sramalin](https://discuss.elastic.co/u/sramalin)\
**Post date:** [January 23, 2018, 4:38pm UTC](https://discuss.elastic.co/t/using-synonyms-with-built-in-analyzers/116713/1 "2018-01-23T16:38:02Z")

</div>

All,

Is it possible to use synonyms with out defining a custom analyzer.  
Say i want to index documents using "english" analyzer and supply my synonyms as an array, how can i specify this without using a custom analyzer.  
I can't seem to locate anything on the topic.

Thanks for the help!

---

<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:** [January 23, 2018, 5:49pm UTC](https://discuss.elastic.co/t/using-synonyms-with-built-in-analyzers/116713/2 "2018-01-23T17:49:17Z")

</div>

No, you would need to redefine the analyzer entirely.

---

<div class="post-metadata">

**Author:** ![sramalin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sramalin/32/25821_2.png) [@sramalin](https://discuss.elastic.co/u/sramalin)\
**Post date:** [January 23, 2018, 5:57pm UTC](https://discuss.elastic.co/t/using-synonyms-with-built-in-analyzers/116713/3 "2018-01-23T17:57:02Z")

</div>

Got it, thanks

---

<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:** [February 20, 2018, 5:57pm UTC](https://discuss.elastic.co/t/using-synonyms-with-built-in-analyzers/116713/4 "2018-02-20T17:57:05Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
