Working with wildcard (asterisk) on search
Issue #478
resolved
Working with wildcard (asterisk) on search in the web GUI depends on the setup of min_prefix_len in sphinx.conf. If you're searching like "fax" the GUI shows "Empty search result. Try adding the wildcard character() after a word snippet, eg. duplic* to find "duplicate", "duplicated", etc."
There should be added the used value of "min_prefix_len" from sphinx.conf (default are 6 chars) as a hint for people are searching shorter strings than 6 chars.
Or
the Error message should be enhanced by the default minimum of 6 chars.
best regards, Frank
Comments (2)
-
repo owner -
repo owner - changed status to resolved
OK, added an hint to display that the text* should be at least x character long
- Log in to comment
Well, indeed, it may be a nicer solution, however the www-data (or apache) user can't read the sphinx.conf file. Perhaps this number should be in config-site.php, then merged with the text message. Anyway thanks for the hint.