Do you have a concept code for this? Don’t you also have to hack your query parser, e.g. dismax, to use other Query objects supporting payloads?
-- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 18. nov. 2015 kl. 22.24 skrev Markus Jelsma <markus.jel...@openindex.io>: > > Hi - easiest approach is to use KeywordRepeatFilter and > RemoveDuplicatesTokenFilter. This creates a slightly higher IDF for unstemmed > words which might be just enough in your case. We found it not to be enough, > so we also attach payloads to signify stemmed words amongst others. This > allows you to decrease score for stemmed words at query time via your > similarity impl. > > M. > > > > -----Original message----- >> From:bbarani <bbar...@gmail.com> >> Sent: Wednesday 18th November 2015 22:07 >> To: solr-user@lucene.apache.org >> Subject: Boost non stemmed keywords (KStem filter) >> >> Hi, >> >> I am using KStem factory for stemming. This stemmer converts 'france to >> french', 'chinese to china' etc.. I am good with this stemming but I am >> trying to boost the results that contain the original term compared to the >> stemmed terms. Is this possible? >> >> Thanks, >> Learner >> >> >> >> >> -- >> View this message in context: >> http://lucene.472066.n3.nabble.com/Boost-non-stemmed-keywords-KStem-filter-tp4240880.html >> Sent from the Solr - User mailing list archive at Nabble.com. >>