# Custom language analyzers on Elastic cloud

**URL:** <https://discuss.elastic.co/t/custom-language-analyzers-on-elastic-cloud/358605>\
**Category:** Elasticsearch\
**Created:** [May 2, 2024, 7:13am UTC](https://discuss.elastic.co/t/custom-language-analyzers-on-elastic-cloud/358605 "2024-05-02T07:13:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ravi\_kumar\_mvs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ravi_kumar_mvs/32/132685_2.png) [@ravi\_kumar\_mvs](https://discuss.elastic.co/u/ravi_kumar_mvs)\
**Post date:** [May 2, 2024, 7:13am UTC](https://discuss.elastic.co/t/custom-language-analyzers-on-elastic-cloud/358605/1 "2024-05-02T07:13:57Z")

</div>

Hi,  
I use Elasticsearch enterprise version 8.12.2 on EC cloud.  
I need to support search over 120 locales for our application. The problem is that I'm unable to find packages on cloud that can enable stemming and stop filters for about 20+ locales.  
For example, Slovakia (Slovensko), sq (Albania), az (Azerbaijan) locales doesn't seem to have EC plugin.  
Any suggestions on enabling stemming and stop filters for these 20+ locales that don't have inbuilt analyzers in EC cloud?  
I know that we can create plugins and upload them to the cloud, but not able to find any easier way of doing it.

The markets (locales) that need custom language analyzers are:  
Slovakia, Albania, Azerbaijan, Bosnia and Herzegovina, Belarus, Georgia, Croatia, Israel, Iceland, Montenegro, North Macedonia, Moldova - Moldavian, Serbia, Slovenia, Ukraine, Vietnam - Vietnamese and Kosovo

---

<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 2, 2024, 12:29pm UTC](https://discuss.elastic.co/t/custom-language-analyzers-on-elastic-cloud/358605/2 "2024-05-02T12:29:54Z")

</div>

Your best bet is to create a custom analyzer for each language you need to support. [This page on language analyzers](https://www.elastic.co/guide/en/elasticsearch/reference/8.12/analysis-lang-analyzer.html) has some examples and may help get you started.

---

<div class="post-metadata">

**Author:** ![ravi\_kumar\_mvs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ravi_kumar_mvs/32/132685_2.png) [@ravi\_kumar\_mvs](https://discuss.elastic.co/u/ravi_kumar_mvs)\
**Post date:** [May 2, 2024, 12:47pm UTC](https://discuss.elastic.co/t/custom-language-analyzers-on-elastic-cloud/358605/3 "2024-05-02T12:47:29Z")

</div>

Hi Kathleen,  
The link you shared points to the built-in analyzers. When I checked some more documentation, I noticed that I need to create .dic and .aff files for the custom analyzers. And then probably create a custom elastic cloud plugin for the language analyzer. Isn't that whole process needed?

---

<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 2, 2024, 1:17pm UTC](https://discuss.elastic.co/t/custom-language-analyzers-on-elastic-cloud/358605/4 "2024-05-02T13:17:39Z")

</div>

There are some plugins available such as this [Ukrainkian analysis plugin](https://www.elastic.co/guide/en/elasticsearch/plugins/current/analysis-ukrainian.html) and then follow the [cloud plugin](https://www.elastic.co/guide/en/cloud-enterprise/current/ece-add-plugins.html) instructions. You're right that for ones that don't have a plugin you may need to make your own.

It's also worth noting that as a cloud customer you should be entitled to support services, so please feel free to contact your support representative if you need additional help installing it!

---

<div class="post-metadata">

**Author:** ![ravi\_kumar\_mvs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ravi_kumar_mvs/32/132685_2.png) [@ravi\_kumar\_mvs](https://discuss.elastic.co/u/ravi_kumar_mvs)\
**Post date:** [May 3, 2024, 8:41am UTC](https://discuss.elastic.co/t/custom-language-analyzers-on-elastic-cloud/358605/5 "2024-05-03T08:41:37Z")

</div>

Thank you Kathleen.

---

<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:** [May 31, 2024, 8:42am UTC](https://discuss.elastic.co/t/custom-language-analyzers-on-elastic-cloud/358605/6 "2024-05-31T08:42:30Z")

</div>

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