Mvolz created this task.
Mvolz added projects: Wikidata, User-Smalyshev, Discovery, MediaWiki-Vagrant.
TASK DESCRIPTION
I've enabled the vagrant wikibase cirrus role, however I'm still getting
empty results for srsearch queries, i.e. wbhasstatement gives me:
{
"batchcomplete": "",
"query": {
"searchinfo": {
"totalhits": 0
},
"search": []
}
}
I've tried reindexing from CirrusSearch, which succeeds, but doesn't help:
> mwscript extensions/CirrusSearch/maintenance/forceSearchIndex.php
[ wiki] Indexed 3 pages ending at 3 at 3/second
Indexed a total of 3 pages at 3/second
The puppet file
<https://github.com/wikimedia/mediawiki-vagrant/blob/6a20a2159bd5fa1f940b411bbbb4564e12559f78/puppet/modules/role/manifests/wikibasecirrussearch.pp>
didn't look like it enabled it, so I tried enabling it according to the docs,
but that didn't work either:
http://wikidata.wiki.local.wmftest.net:8080/w/api.php?action=query&list=search&srsearch=haswbstatement:P7=7&useCirrus=1
This results in
"main": {
"*": "Unrecognized parameter: useCirrus."
},
``
I've also tried manually enabling in in my localsettings, i.e.
$wgWBCSUseCirrus = true;
This results in:
"search": {
"*": "Bad query builder class:
CirrusSearch\\Query\\FullTextQueryStringQueryBuilder::newFromGlobals"
}
TASK DETAIL
https://phabricator.wikimedia.org/T228503
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Mvolz
Cc: Smalyshev, Aklapper, Mvolz, darthmon_wmde, ET4Eva, Nandana, Sario528, Lahi,
jgleeson, Gq86, Darkminds3113, GoranSMilovanovic, QZanden, EBjune, LawExplorer,
Avner, Gehel, _jensen, rosalieper, FloNight, Luke081515, Wikidata-bugs, aude,
Mbch331, jeremyb
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs