You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by to...@apache.org on 2019/07/03 13:05:26 UTC

[lucene-solr] branch branch_8x updated: SOLR-13588: Document Estonian analyzer in Solr Ref Guide

This is an automated email from the ASF dual-hosted git repository.

tomoko pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/branch_8x by this push:
     new d586c44  SOLR-13588: Document Estonian analyzer in Solr Ref Guide
d586c44 is described below

commit d586c44a33eaec3b3993cc056e1d5e4fba927948
Author: Tomoko Uchida <to...@apache.org>
AuthorDate: Wed Jul 3 22:02:47 2019 +0900

    SOLR-13588: Document Estonian analyzer in Solr Ref Guide
---
 solr/CHANGES.txt                               |  3 ++-
 solr/solr-ref-guide/src/language-analysis.adoc | 28 ++++++++++++++++++++++++++
 2 files changed, 30 insertions(+), 1 deletion(-)

diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index fa9ce48..e916151 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -111,7 +111,8 @@ New Features
 
 * SOLR-13589: Allow zplot to visualize 2D clusters and convex hulls (Joel Bernstein)
 
-* SOLR-13602: Add a field type for Estonian language to default managed_schema (Tomoko Uchida)
+* SOLR-13602 SOLR-13588: Add a field type for Estonian language to default managed_schema,
+  document about Estonian language analysis in Solr Ref Guide (Tomoko Uchida)
 
 Bug Fixes
 ----------------------
diff --git a/solr/solr-ref-guide/src/language-analysis.adoc b/solr/solr-ref-guide/src/language-analysis.adoc
index 06c27c4..b32e6be 100644
--- a/solr/solr-ref-guide/src/language-analysis.adoc
+++ b/solr/solr-ref-guide/src/language-analysis.adoc
@@ -587,6 +587,7 @@ These factories are each designed to work with specific languages. The languages
 * <<Danish>>
 
 * <<Dutch>>
+* <<Estonian>>
 * <<Finnish>>
 * <<French>>
 * <<Galician>>
@@ -916,6 +917,33 @@ Solr can stem Dutch using the Snowball Porter Stemmer with an argument of `langu
 
 *Out:* "kanal", "kanal"
 
+=== Estonian
+
+Solr can stem Estonian using the Snowball Porter Stemmer with an argument of `language="Estonian"`.
+
+*Factory class:* `solr.SnowballPorterFilterFactory`
+
+*Arguments:*
+
+`language`:: (required) stemmer language, "Estonian" in this case
+
+*Example:*
+
+[source,xml]
+----
+<analyzer type="index">
+  <tokenizer class="solr.StandardTokenizerFactory"/>
+  <filter class="solr.LowerCaseFilterFactory"/>
+  <filter class="solr.SnowballPorterFilterFactory" language="Estonian"/>
+</analyzer>
+----
+
+*In:* "Taevani tõustes"
+
+*Tokenizer to Filter:* "Taevani", "tõustes"
+
+*Out:* "taevani", "tõus"
+
 === Finnish
 
 Solr includes support for stemming Finnish, and Lucene includes an example stopword list.