Searching part of a word via solr search to get (live) results

Hey guys,

first I have to say thanks für the great software you developed!
In Version 9.4 I have the problem that by searching a part of a word there is no result in live search or after typing enter. I.e. typing “sugg” there is no result of the pagename “suggesting something” even if there is a page named like this.

Is there an Option to activate this function? Because i remember years ago I installed xwiki, there was a function like this?

Thanks for your support,
Chrlae

Chrlae,

Try using wildcards. e.g. sugg* without quotes.
For more details read this help guide and read the Solr manual on the Apache site, specifically the DisMax section.

Ben

You can configure the live search to use prefix matching (http://extensions.xwiki.org/xwiki/bin/view/Extension/Solr+Search+Application#HAdvancedSearchSuggestSources) but it’s not very performant (which is the reason why we don’t use it by default).

Hope this helps,
Marius

1 Like