0
votes

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

1 Answers

1
votes

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