Wildcard search in Solr

ⅰ亾dé卋堺 提交于 2019-12-01 04:33:25

With edismax, leading wildcards are no problem. I just retested it.

Wildcards in middle of term are no problem either.

Looks like there is something else wrong. Are you sure you are using edismax?

Leading wildcard won't work unless you activate the reverse string filter. To use it in Solr, add a ReversedWildcardFilterFactory to the analyzer of the field that you want to search with a leading wildcard.

As for your other queries that return 0 result, try using luke to see how your terms are being analyzed (stored in the index). Don't forget to take into account the effect of stemming, if you are using it.

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