I tried this on a search for "Sør-Aurdal" (a municipality in Norway), dropped the dash and wrote "sørau" and got a hit on "Søraust-Svalbard naturreservat" among other things. The topmost hit was "søraurdøl", which is a denomyn for someone from Sør-Aurdal. It seems to me that a spelling error is compensated with a fuzzy search for long(est?) words, but that imply nearly completing the word if there is a spelling error.
What if the topmost entry in the list had a less aggressive fuzzy search, and used shorter words? I tried several other searches, and somehow "sørau" seems to be difficult. All searches was on nowiki.
I'm a bit impressed... :D
On Sun, Dec 20, 2015 at 9:55 PM, Sage Ross ragesoss+wikipedia@gmail.com wrote:
If I'm, say, building a web app that could benefit from that kind of search suggestion tool, is there an API I can use?
-Sage
On Thu, Dec 17, 2015 at 5:09 PM, Dan Garry dgarry@wikimedia.org wrote:
Hey all,
In the continued quest to make the search bar a better tool, the
Wikimedia
Foundation's Discovery Department https://www.mediawiki.org/wiki/Wikimedia_Discovery has put a
completion
suggester into Beta Features. The tool functions with search-as-you-type, with a small tolerance for typos and spacing in finding results. Possible matches are then displayed as you type in a drop down menu, hopefully eliminating the need to perform a fulltext search with landing page and all. You can read more details at mediawiki.org <
https://www.mediawiki.org/wiki/Extension:CirrusSearch/CompletionSuggester%3E
and use the talk page for now for feedback.
The tool is now available and will only be enabled for the article namespace for now, and will progress into full production at some point hopefully in early 2016, depending on feedback. It's going to be
important
to get feedback from regular contributors who use search to make sure
that
any of the basic feature requests for searching the main space can at
least
be addressed while in Beta Features.
Thanks!
Dan
-- Dan Garry Lead Product Manager, Discovery Wikimedia Foundation _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l