This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests
are now tracked at the issue tracker at Github.
This task was never closed in our old bug tracker.
Feel free to open a new task at Github if you feel this is still relevant.
FS#2483 improve opensearch suggestion results
The opensearch is used to integrate the search to our web browsers. This function used (ajax_suggestions in lib/exe/ajax.php) returns suggestions when we enter letters in the search box of the browser.
The actual suggestions are based on the result returned by the ft_pagelookup function, and sorted alphabeticaly, keeping just the 15 first results to the suggestions. The ft_pagelookup return page names containing the query string. For queries with few letters the result don't make sense most of the time when the first letter is far away in the alphabet.
The suggestions should be more usefull displaying first the pages starting with the query string and pages containging words starting with the query string after that first part.
PS: This sort method can also improve que ajax_qsearch results