You should construct an analysis chain that does what you need. Read the
source of the relevant analyzer and pick the tokenizer and filter(s) that
you need, and don't include stemming.


On Mon, Jun 9, 2014 at 5:57 AM, Jamie <ja...@mailarchiva.com> wrote:

> Greetings
>
> Our app currently uses language specific analysers (e.g. EnglishAnalyzer,
> GermanAnalyzer, etc.). We need an option to disable stemming. What's the
> recommended way to do this? These analyzers do not include an option to
> disable stemming, only a parameter to specify a list words for which
> stemming should not apply. Furthermore, my understanding is that the
> StandardAnalyzer is tied to English specifically. I am trying to avoid
> having to override each of these analyzers with an option to disable
> stemming. Is there a better alternative?
>
> Much appreciate your consideration.
>
> Jamie
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>
>

Reply via email to