i using elasticsearch , lucene standard analyzer. want make index not return results "paleontology" when query "paleo". want return results "paleolithitic" related "paleo". in other words, want analyzer more intelligent, , filter out stems not related keyword, while keeping stems related it. solutions have available?
implement own stemming filter (or extend existing one). standard analyzer doesn't use stemming, i'm not sure exact stemmer you're using. though, here porterstemmer in lucene.
if seems complex, put stopword filter after you're stemmer , reject token want.
Comments
Post a Comment