Custom analyzer from file

Is it possible to create a custom analyzer from a file?

example:

i have a file with no stop words that i want import in es.
can i create this?

"filter": {
    "my_stopwords": {
        "type":        "stop",
        "stopwords":  my_file_with_stopwords.txt
    }
}

You need to add your file on each node in config/ dir.

Read https://www.elastic.co/guide/en/elasticsearch/reference/2.1/analysis-stop-tokenfilter.html

1 Like

thanks!