From 5c5c1da06c17c3618697f4c3f6ce6b9b0aab4a54 Mon Sep 17 00:00:00 2001 From: Clinton Gormley Date: Mon, 9 Jun 2014 22:50:48 +0200 Subject: [PATCH] Docs: Fixed some errors on the language analyzers page --- .../analysis/analyzers/lang-analyzer.asciidoc | 31 ++++++++++--------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/docs/reference/analysis/analyzers/lang-analyzer.asciidoc b/docs/reference/analysis/analyzers/lang-analyzer.asciidoc index 1323e0d179d..f27ab6eb946 100644 --- a/docs/reference/analysis/analyzers/lang-analyzer.asciidoc +++ b/docs/reference/analysis/analyzers/lang-analyzer.asciidoc @@ -12,7 +12,7 @@ following types are supported: <>, <>, <>, -<>, +<>, <>, <>, <>, @@ -76,7 +76,8 @@ The `arabic` analyzer could be reimplemented as a `custom` analyzer as follows: "lowercase", "arabic_stop", "arabic_normalization", - "arabic_keywords" + "arabic_keywords", + "arabic_stemmer" ] } } @@ -401,10 +402,10 @@ The `czech` analyzer could be reimplemented as a `custom` analyzer as follows: <2> Words can be excluded from stemming with the `stem_exclusion` parameter. -[[finnish-analyzer]] -==== `finnish` analyzer +[[danish-analyzer]] +==== `danish` analyzer -The `finnish` analyzer could be reimplemented as a `custom` analyzer as follows: +The `danish` analyzer could be reimplemented as a `custom` analyzer as follows: [source,js] ---------------------------------------------------- @@ -412,27 +413,27 @@ The `finnish` analyzer could be reimplemented as a `custom` analyzer as follows: "settings": { "analysis": { "filter": { - "finnish_stop": { + "danish_stop": { "type": "stop", - "stopwords": "_finnish_" <1> + "stopwords": "_danish_" <1> }, - "finnish_keywords": { + "danish_keywords": { "type": "stop", "keywords": [] <2> }, - "finnish_stemmer": { + "danish_stemmer": { "type": "stemmer", - "language": "finnish" + "language": "danish" } }, "analyzer": { - "finnish": { + "danish": { "tokenizer": "standard", "filter": [ "lowercase", - "finnish_stop", - "finnish_keywords", - "finnish_stemmer" + "danish_stop", + "danish_keywords", + "danish_stemmer" ] } } @@ -902,7 +903,7 @@ The `italian` analyzer could be reimplemented as a `custom` analyzer as follows: }, "italian_stemmer": { "type": "stemmer", - "language": "italian" + "language": "light_italian" } }, "analyzer": {