# Adding multiple synonyms sets to a filter

**URL:** <https://discuss.elastic.co/t/adding-multiple-synonyms-sets-to-a-filter/353814>\
**Category:** Elasticsearch\
**Created:** [February 21, 2024, 5:13pm UTC](https://discuss.elastic.co/t/adding-multiple-synonyms-sets-to-a-filter/353814 "2024-02-21T17:13:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dat\_boi](https://avatars.discourse-cdn.com/v4/letter/d/3ec8ea/32.png) [@dat\_boi](https://discuss.elastic.co/u/dat_boi)\
**Post date:** [February 21, 2024, 5:13pm UTC](https://discuss.elastic.co/t/adding-multiple-synonyms-sets-to-a-filter/353814/1 "2024-02-21T17:13:06Z")

</div>

i successfully created an index which uses a filter that has one synonyms\_set , but right when i try to use multiple synonyms Sets it fails with no error message, it creates an empty index with no status , here are my settings :

```auto
 "analyzer": {
        "synonyms_analyzer": {
          "tokenizer": "standard",
          "filter": [
            "lowercase",
            "synonyms_filter"
          ]
        }

 "filter": {
        "synonyms_filter": {
          "type": "synonym",
          "updateable": "true",
          "synonyms_set": [
            "set1",
            "set2",
            "set3"
          ]
        }
}

```

---

<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:** [March 20, 2024, 5:13pm UTC](https://discuss.elastic.co/t/adding-multiple-synonyms-sets-to-a-filter/353814/2 "2024-03-20T17:13:56Z")

</div>

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