# Doubts about the use of StopWords

**URL:** <https://discuss.elastic.co/t/doubts-about-the-use-of-stopwords/268707>\
**Category:** Elasticsearch\
**Created:** [March 29, 2021, 9:36pm UTC](https://discuss.elastic.co/t/doubts-about-the-use-of-stopwords/268707 "2021-03-29T21:36:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RabBit\_BR](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rabbit_br/32/82261_2.png) [@RabBit\_BR](https://discuss.elastic.co/u/RabBit_BR)\
**Post date:** [March 29, 2021, 9:36pm UTC](https://discuss.elastic.co/t/doubts-about-the-use-of-stopwords/268707/1 "2021-03-29T21:36:25Z")

</div>

Hi.  
I would like to ask a question about what is the best use of stop words. I have a filter (option A) with passing all stopwords and the other option is to create a filter for each language (option B). In any case would I reduce the size of the index?

Option A

```auto
      "stop_words_filter": {
          "type": "stop",
          "stopwords": [
            "_brazilian_",
            "_english_",
            "_spanish_",
            "_french_"
          ]
        }

```

Option B

```auto
        "brazilian_stop_filter": {
          "type": "stop",
          "stopwords": "_brazilian_"
        }

```

---

<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:** [April 26, 2021, 9:37pm UTC](https://discuss.elastic.co/t/doubts-about-the-use-of-stopwords/268707/2 "2021-04-26T21:37:11Z")

</div>

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