The OpenSearch API on wikidata.org returns an empty list always.
See e.g. http://www.wikidata.org/wiki/Special:ApiSandbox#action=opensearch&format=json&search=D&limit=10
The OpenSearch API on wikidata.org returns an empty list always.
See e.g. http://www.wikidata.org/wiki/Special:ApiSandbox#action=opensearch&format=json&search=D&limit=10
Technically it's working fine, it just isn't very helpful because the main namespace holds only data items with non-meaningful titles:
https://www.wikidata.org/w/api.php?action=opensearch&search=Q
[
"Q", [ "Q2242097", "Q658177", "Q13471093", "Q1918357", "Q2394646", "Q2311185", "Q1043760", "Q840343", "Q229548", "Q223323" ]
]
You probably want to use some hooks (I *think* there are some already) to replace the OpenSearch handler's prefix searching with something more wikibase-friendly.
This doesn't look like something that the Discovery-Search team will work on, as it's the OpenSearch API. If there is something specific you want us to do, please ping us.