Language vs Snowball analyzer

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

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.comwrote:

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

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?

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

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.comwrote:

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?

среда, 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

--
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.
For more options, visit https://groups.google.com/groups/opt_out.