Lucene - default search lemmatization/stemming

1.4k views Asked by At

Does Lucene default search do lemmatization/stemming on the words?

For example when using the code in this sample, are the words in the docs used as is or are they transformed to their basic form (i.e. Managing -> manag), and if so what default lemmatizer does it use?

1

There are 1 answers

0
bpgergo On BEST ANSWER

The sample referred in your post uses Lucene StandardAnalyzer which does not do stemming.

If you want to use stemming, you need to use an other Analyzer implementation e.g.: SnowballAnalyzer