Thanks Erik!

I uploaded a small HTML page to compare both approaches: http://cirrus-browser-bot.wmflabs.org/suggest.html


Le 26/08/2015 00:38, Erik Bernhardson a écrit :
We have been working on a replacement autocompletion API that is more forgiving than a strict prefix search.  The scoring algorithm's have a long way to go but we have the first run through of building the completion index for enwiki so i thought i would share:

Here are a couple examples, feel free to change the text= around to other things.

http://cirrus-browser-bot.wmflabs.org/w/api.php?action=cirrus-suggest&limit=100&text=white%20house
http://cirrus-browser-bot.wmflabs.org/w/api.php?action=cirrus-suggest&limit=100&text=hotel%20cal
http://cirrus-browser-bot.wmflabs.org/w/api.php?action=cirrus-suggest&limit=100&text=wikim


Don't stress out too much over the scoring yet, we know it needs some work and have plans to integrate page view information in here to help more popular articles rise the the top.

Erik B


_______________________________________________
Wikimedia-search mailing list
Wikimedia-search@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikimedia-search