Enable search box suggestions-as-you-type that match words or phrases anywhere in the page title
Fragment of a discussion from Extension talk:SphinxSearch
The [1] commit implements a prefix wildcard search.
- Enable wildcard prefix search suggestions ($wgSphinxPrefixSearchAdvanced = false;)
- Extend prefix search namespace beyond NS_MAIN ($wgSphinxPrefixSearchNamespaces = false;)
- Extend prefix result display limit ($wgSphinxPrefixSearchLimit = 15;)
Hallo MWJames, I think this is a great idea. But on my 1.19 MW it just won't work. Sphinx itself is running smoothly but I cannot find out why the "InfixSearch" will NOT work.
I checked here: sphinx.conf:
min_infix_len = 1 enable_star = 1
And also in LocalSettings.php
$wgSearchType = 'SphinxMWSearch'; require_once( "$IP/extensions/SphinxSearch/SphinxSearch.php" ); $wgSphinxSearch_port = 9312; $wgEnableSphinxInfixSearch = true; $wgSphinxPrefixSearchAdvanced = true; $wgSphinxPrefixSearchNamespaces = true; $wgSphinxPrefixSearchLimit = 15;
I got the "updated" version from here: https://gerrit.wikimedia.org/r/#/c/15859/
Your help would be highly appreciated ;-) Thank you!!!