# AppSearch synonyms

**URL:** <https://discuss.elastic.co/t/appsearch-synonyms/359143>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [May 9, 2024, 7:33am UTC](https://discuss.elastic.co/t/appsearch-synonyms/359143 "2024-05-09T07:33:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cong\_Hoang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cong_hoang/32/121875_2.png) [@Cong\_Hoang](https://discuss.elastic.co/u/Cong_Hoang)\
**Post date:** [May 9, 2024, 7:33am UTC](https://discuss.elastic.co/t/appsearch-synonyms/359143/1 "2024-05-09T07:33:30Z")

</div>

Hello Team,  
I'm using AppSearch 8.12 and I want to know all about AppSearch synonyms. So I have questions, can help me? :

1. Appsearch can have synonyms API for one direction as Elasticsearch done, example : "car =\> truck" ?
2. I added synonyms "bye =\> goodbye" to Elasticsearch, so Appsearch will automatically be affected this synonyms or not relevant?

---

<div class="post-metadata">

**Author:** ![Kathleen\_DeRusso](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kathleen_derusso/32/132039_2.png) [@Kathleen\_DeRusso](https://discuss.elastic.co/u/Kathleen_DeRusso)\
**Post date:** [May 9, 2024, 12:35pm UTC](https://discuss.elastic.co/t/appsearch-synonyms/359143/2 "2024-05-09T12:35:18Z")

</div>

Hi there @Cong_Hoang thanks for the question.

In app search we only support [creating synonyms](https://www.elastic.co/guide/en/app-search/current/synonyms.html#synonyms-create) that are bidirectional. So the `=>` syntax supported in files and the [synonyms API](https://www.elastic.co/blog/update-synonyms-elasticsearch-introducing-synonyms-api) are not supported. Furthermore the Synonyms API is not supported in Elasticsearch out of the box, since we define other analyzers and don't know about any custom analyzers that use these synonym sets.

If you need this support in your App search index, the workaround would be to send in requests directly to the underlying Elasticsearch indices using the [Elasticsearch search API](https://www.elastic.co/guide/en/app-search/current/elasticsearch-search-api-reference.html) configuring an analyzer that is set up with the configured synonyms set.

---

<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:** [June 6, 2024, 12:36pm UTC](https://discuss.elastic.co/t/appsearch-synonyms/359143/3 "2024-06-06T12:36:00Z")

</div>

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