In the course of work on improving search in Wikidata, we now have an
implementation of entity prefix search (wbsearchentities API) using
ElasticSearch via CirrusSearch extension.
This search mode can be used via useCirrus=1 parameter on
wbsearchentities API (without the parameter, the API works as before).
The results format is the same as before, but the search is driven not
by SQL but by ElasticSearch.
We've created a test page to test newly developed search of Wikidata
entities via wbsearchentities here:
Please use this page to test the search and if there's something broken
please tell us.
Please note the following:
- ElasticSearch parameters are not fully tuned yet, so there might be
weird results, wrong ordering, etc. The purpose of this test phase is to
discover and weed out such occurrences and figure out the best tuning
parameters. As such, discussions of ideas and things that are not
working right are welcome. If you plan to make a lot of tests - which is
great! - please summarize. You can post feedback on the list, or on the
talk page here:
or anywhere on the wiki, please send me a link :)
- The test page UI is kind of rough, so it relies on language and type
parameters to be accurate and does not have any error control. It's just
a test :) Suggestion on improving it are welcome though.
More details available in: https://phabricator.wikimedia.org/T125500