# Synonym and stopwords file elasticsearch

**URL:** https://discuss.elastic.co/t/synonym-and-stopwords-file-elasticsearch/49683
**Category:** Elasticsearch
**Created:** [May 10, 2016, 4:03pm UTC](https://discuss.elastic.co/t/synonym-and-stopwords-file-elasticsearch/49683 "2016-05-10T16:03:15Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![loez1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/loez1/32/9274_2.png) [@loez1](https://discuss.elastic.co/u/loez1)
#### Post date: [May 10, 2016, 4:03pm UTC](https://discuss.elastic.co/t/synonym-and-stopwords-file-elasticsearch/49683/1 "2016-05-10T16:03:15Z")

</div>

Hello,

I'm looking for 2 files elasticsearch which define synonyms and stopwords in english and french to download ! I don't know if it exists or I should creat it by myself !

I need also to know if that file has a specific structure or I need just to write synonyms separated by ","

Thank you !

---

<div class="post-metadata">

### Author: ![mainec](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mainec/32/5557_2.png) [@mainec](https://discuss.elastic.co/u/mainec)
#### Post date: [May 10, 2016, 8:52pm UTC](https://discuss.elastic.co/t/synonym-and-stopwords-file-elasticsearch/49683/2 "2016-05-10T20:52:06Z")

</div>

Wrt. to synonyms you might find the following docs helpful:

[https://www.elastic.co/guide/en/elasticsearch/guide/current/using-synonyms.html](https://www.elastic.co/guide/en/elasticsearch/guide/current/using-synonyms.html)

As for stopwords: THe default stopword lists are the ones shipped with Lucene, for more on that see [https://www.elastic.co/guide/en/elasticsearch/guide/current/using-stopwords.html](https://www.elastic.co/guide/en/elasticsearch/guide/current/using-stopwords.html)

Hope this helps,  
Isabel

---

<div class="post-metadata">

### Author: ![loez1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/loez1/32/9274_2.png) [@loez1](https://discuss.elastic.co/u/loez1)
#### Post date: [May 11, 2016, 8:51am UTC](https://discuss.elastic.co/t/synonym-and-stopwords-file-elasticsearch/49683/3 "2016-05-11T08:51:29Z")

</div>

Thank you ! That helps me a lot 😉 especially stopwords part but I can't find the correct format for a synonym file yet !!! I created a file with words separated by "," but it not seems working !

---

<div class="post-metadata">

### Author: ![thn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thn/32/8061_2.png) [@thn](https://discuss.elastic.co/u/thn)
#### Post date: [May 11, 2016, 11:51am UTC](https://discuss.elastic.co/t/synonym-and-stopwords-file-elasticsearch/49683/4 "2016-05-11T11:51:40Z")

</div>

This site has stopwords list in many different languages that you can use

[http://www.ranks.nl/stopwords](http://www.ranks.nl/stopwords)

If you are happy with the default lists from Lucene, I suggest use them.

If you need a specific list due to the domain you are working on, I suggest to use external stopwords list files so you can customize the list.

---

<div class="post-metadata">

### Author: ![mainec](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mainec/32/5557_2.png) [@mainec](https://discuss.elastic.co/u/mainec)
#### Post date: [May 12, 2016, 7:56am UTC](https://discuss.elastic.co/t/synonym-and-stopwords-file-elasticsearch/49683/5 "2016-05-12T07:56:53Z")

</div>

Wrt. to synonym formatting - it's discussed in the page linked from what I provided you:

[https://www.elastic.co/guide/en/elasticsearch/guide/current/synonym-formats.html](https://www.elastic.co/guide/en/elasticsearch/guide/current/synonym-formats.html)

Is that not working for you?

---

<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 5, 2017, 10:52pm UTC](https://discuss.elastic.co/t/synonym-and-stopwords-file-elasticsearch/49683/6 "2017-07-05T22:52:12Z")

</div>


