Hello Aishwarya, KStem does a really bad job with the examples you have given, it won't remove the -s and -ing suffixes in some strange cases. Porter/Snowball work just fine for this example.
What won't work, of course, are irregular verbs and nouns (plural forms). They always need to be hard-coded either within the algorithm, which it is not, or outside by for example a StemmerOverrideFilter. Regards, Markus -----Original message----- > From:aishwarya <aishu.j...@gmail.com> > Sent: Friday 21st September 2018 10:38 > To: solr-user@lucene.apache.org > Subject: Grammatical tenses Stemming in SOLR > > > 1 > down vote > favorite > i want to know which stemming filter factory can be used to fetch all the > possible tenses of a stem word. > > example : if "run" is the search word -> it has to fetch results for all > files involving run , running , runs , ran. > > also the vice-versa --> whichever tense of a word is searched , it has to > retreive all the results from the files. > > i tried using POrterStemFilterFactory , snowball , kstem --> none of these > seems to fetch the intended results. > > Please help ! thanks in advance > > Thanks, Aishwarya > > > > -- > Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html >