I use solr 3.3 to index my files, I want solr index words with their suffixes for example I want to index colorful like color and when i search color solr show any document that has colorful.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
You would need to apply analysis on the field.
Stemming - Its a kind of dictionary. This would reduce the word indexed and searched to its roots.
e.g. color, colors, colored would match your searches, if any word is searched.
There was would be cases where the above stemming does not work.
You can use SynonymFilter, This allows you to specify words which you term as synonym and would match the search results.