States that it has a
[Stop Token Filter] (disabled by default)
So to test the Standard Analyzer we type:
POST _analyze
{
"analyzer": "standard",
"text": "The 2 QUICK Brown-Foxes jumped over the lazy dog's bone."
}
Now I want to add a german stopword filter.
States:
GET /_analyze
{
"tokenizer": "standard",
"filter": [ "stop" ],
"text": "a quick fox jumps over the lazy dog"
}
Sadly the site does not explain how to activate a stopfilter for another language.
How do you do so?
Here is what I have tried:
POST /_analyze
{
"tokenizer": "standard",
"filter": [ "german_stop" ],
"text": "Elasticsearch ist leider sehr schlecht dokumentiert, weshalb ich die Lösung nicht finde."
}
POST /_analyze
{
"tokenizer": "standard",
"filter": [ {
"type": "stop",
"ignore_case": true,
"stopwords" : "_german_"
} ],
"text": "Elasticsearch ist ziemlich gut dokumentiert, aber die Konzepte sind manchmal etwas kompliziert. Zum Glück gibt es die Community"
}
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.