Hi, You could use a FuzzyQuery, that will match words that have some degree of resemblance, with lower score.
>StemFilter ------ > >I am trying to improve the quality of my searches in context of the >content of my application. I have created an analyzer using the >following: > >StemFilter.new StopFilter.new( >LowerCaseFilter.new(StandardTokenizer.new(text)), @stop_words ) > >This has been pretty good so far, however, I really would like to get >a search for "plumber" match "plumbing" at maybe a lower score than it >would match "plumbers". The thing is that plumber(s) is filtered to >"plumber" and plumbing is filtered to plumb, so it doesn't match. Is >there any way to tweak the filter to be able to do these matches? I >would like to match all noun and verbs together (and ideally with a >lower score than different verb conjugations would match). Another >example would be driving and driver. _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

