# Language vs Snowball analyzer

**URL:** <https://discuss.elastic.co/t/language-vs-snowball-analyzer/5168>\
**Category:** Elasticsearch\
**Created:** [August 16, 2011, 8:51am UTC](https://discuss.elastic.co/t/language-vs-snowball-analyzer/5168 "2011-08-16T08:51:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sindre\_Sorhus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sindre_sorhus/32/3138_2.png) [@Sindre\_Sorhus](https://discuss.elastic.co/u/Sindre_Sorhus)\
**Post date:** [August 16, 2011, 8:51am UTC](https://discuss.elastic.co/t/language-vs-snowball-analyzer/5168/1 "2011-08-16T08:51:13Z")

</div>

What's the difference?  
What's the different use-cases?

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [August 16, 2011, 11:29am UTC](https://discuss.elastic.co/t/language-vs-snowball-analyzer/5168/2 "2011-08-16T11:29:10Z")

</div>

Snowball analyzer is actually deprecated in Lucene, and language specific  
analyzers do stemming as well.

On Tue, Aug 16, 2011 at 11:51 AM, Sindre Sorhus [sindresorhus@gmail.com](mailto:sindresorhus@gmail.com)wrote:

> What's the difference?  
> What's the different use-cases?

---

<div class="post-metadata">

**Author:** ![Sindre\_Sorhus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sindre_sorhus/32/3138_2.png) [@Sindre\_Sorhus](https://discuss.elastic.co/u/Sindre_Sorhus)\
**Post date:** [August 17, 2011, 7:21am UTC](https://discuss.elastic.co/t/language-vs-snowball-analyzer/5168/3 "2011-08-17T07:21:26Z")

</div>

So I guess the language specific analyzers is the best bet?

But why have Snowball at all, if it's depricated in Lucene, and we already  
have something better?

---

<div class="post-metadata">

**Author:** ![Lukas\_Vlcek1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas_vlcek1/32/819_2.png) [@Lukas\_Vlcek1](https://discuss.elastic.co/u/Lukas_Vlcek1)\
**Post date:** [August 17, 2011, 8:07am UTC](https://discuss.elastic.co/t/language-vs-snowball-analyzer/5168/4 "2011-08-17T08:07:06Z")

</div>

Hi,

That is what Java doc for Lucene 3.3.0 says:  
[http://lucene.apache.org/java/3\_3\_0/api/contrib-analyzers/org/apache/lucene/analysis/snowball/SnowballAnalyzer.html](http://lucene.apache.org/java/3_3_0/api/contrib-analyzers/org/apache/lucene/analysis/snowball/SnowballAnalyzer.html)

ES is built on top of Lucene and as long as SnowballAnalyzer class is part  
of Lucene library it is shipped with ES too. You might say that in this case  
this Analyzer should not be exposed by ES API (which is possible to do) but  
think of other users who already use this analyzer (ie backward  
compatibility).

My 2 cents.

Regards,  
Lukas

On Wed, Aug 17, 2011 at 9:21 AM, Sindre Sorhus [sindresorhus@gmail.com](mailto:sindresorhus@gmail.com)wrote:

> So I guess the language specific analyzers is the best bet?
> 
> But why have Snowball at all, if it's depricated in Lucene, and we already  
> have something better?

---

<div class="post-metadata">

**Author:** ![Artem\_Grinblat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/artem_grinblat/32/2327_2.png) [@Artem\_Grinblat](https://discuss.elastic.co/u/Artem_Grinblat)\
**Post date:** [June 21, 2013, 11:42am UTC](https://discuss.elastic.co/t/language-vs-snowball-analyzer/5168/5 "2013-06-21T11:42:14Z")

</div>

среда, 17 августа 2011 г., 11:21:26 UTC+4 пользователь Sindre Sorhus  
написал:

> So I guess the language specific analyzers is the best bet?
> 
> But why have Snowball at all, if it's depricated in Lucene, and we already  
> have something better?

Lucene's default is not better, but faster:  
[http://thread.gmane.org/gmane.comp.jakarta.lucene.user/54023/focus=54166](http://thread.gmane.org/gmane.comp.jakarta.lucene.user/54023/focus=54166)

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [July 6, 2017, 2:30am UTC](https://discuss.elastic.co/t/language-vs-snowball-analyzer/5168/6 "2017-07-06T02:30:00Z")

</div>


