I'm having difficulty looking for NEST ElasticSearch sample code that will treat singular/plural term as same. E.g. 'Shoes' and 'Shoe', 'Mouse' and 'Mice', etc. Need help on how to achieve this functionality. Thanks
Asked
Active
Viewed 706 times
0
-
what you need here is stemming. there are a lot of examples. but be aware that you will need the stemming for the specific language of the text. – danvasiloiu Jul 14 '15 at 08:55
1 Answers
0
Have you tried using snowball for stemming?
http://www.elasticsearch.org/guide/reference/index-modules/analysis/snowball-analyzer/
Here is a link that discusses using snowball over the standard analyzer for your exact scenario.

Community
- 1
- 1

Gary Turpin
- 81
- 3
-
After implementing a similar feature this week, I found it was better for me to use KStem over Snowball since it was less aggressive with the stemming process. – Gary Turpin Aug 01 '13 at 17:57