how index words with their prefix in solr?

∥☆過路亽.° 提交于 2019-12-02 09:01:09

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!