# Custom list of keywords

**URL:** <https://discuss.elastic.co/t/custom-list-of-keywords/312264>\
**Category:** Elasticsearch\
**Created:** [August 17, 2022, 9:44am UTC](https://discuss.elastic.co/t/custom-list-of-keywords/312264 "2022-08-17T09:44:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![seeminglee](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seeminglee/32/109766_2.png) [@seeminglee](https://discuss.elastic.co/u/seeminglee)\
**Post date:** [August 17, 2022, 9:44am UTC](https://discuss.elastic.co/t/custom-list-of-keywords/312264/1 "2022-08-17T09:44:35Z")

</div>

I have setup an index with the following settings:

```auto
{
    "settings": {
        "analysis": {
            "analyzer": {
                "html_analyzer": {
                    "type": "custom",
                    "tokenizer": "standard",
                    "char_filter": [
                        "html_strip",
                    ],
                    "filter": [
                        "lowercase",
                        "asciifolding",
                        "stop",
                    ]
                }
            }
        }
    }
}

```

What I’d like to do know is add a list of custom multi-word phrases to be included as tokens. How can I do that?

For example, let’s say that these are special words:

- three musketeers
- mini pekka

When searched, I want it to find documents with "three musketeers" and not look for three, and musketeers individually.

Thanks!

---

<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:** [September 14, 2022, 9:44am UTC](https://discuss.elastic.co/t/custom-list-of-keywords/312264/2 "2022-09-14T09:44:51Z")

</div>

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