Lucas_Werkmeister_WMDE created this task.
Lucas_Werkmeister_WMDE added projects: Wikimedia-production-error, Wikidata, CirrusSearch.
Restricted Application added a subscriber: Aklapper.
Restricted Application added a project: Discovery-Search.

TASK DESCRIPTION

Error

Request ID: W-62LApAAEoAAHHylHQAAABT

message
[W-62LApAAEoAAHHylHQAAABT] /w/api.php?action=""   ErrorException from line 309 of /srv/mediawiki/php-1.33.0-wmf.6/includes/debug/MWDebug.php: PHP Warning: Using wb_terms table for wbsearchentities API action but not using search-related fields of terms table. This results in degraded search experience, please enable the useTermsTableSearchFields setting. [Called from Closure$#10 in /srv/mediawiki/php-1.33.0-wmf.6/extensions/Wikibase/repo/WikibaseRepo.entitytypes.php at line 178]

trace
#0 /srv/mediawiki/php-1.33.0-wmf.6/includes/debug/MWDebug.php(309): MWExceptionHandler::handleError(integer, string, string, integer, array, array)
#1 /srv/mediawiki/php-1.33.0-wmf.6/includes/debug/MWDebug.php(164): MWDebug::sendMessage(string, array, string, integer)
#2 /srv/mediawiki/php-1.33.0-wmf.6/includes/GlobalFunctions.php(1104): MWDebug::warning(string, integer, integer, string)
#3 /srv/mediawiki/php-1.33.0-wmf.6/extensions/Wikibase/repo/WikibaseRepo.entitytypes.php(178): wfLogWarning(string)
#4 /srv/mediawiki/php-1.33.0-wmf.6/extensions/Wikibase/repo/includes/Api/TypeDispatchingEntitySearchHelper.php(49): Closure$#10(WebRequest)
#5 /srv/mediawiki/php-1.33.0-wmf.6/extensions/Wikibase/repo/includes/Api/SearchEntities.php(101): Wikibase\Repo\Api\TypeDispatchingEntitySearchHelper->getRankedSearchResults(string, string, string, integer, boolean)
#6 /srv/mediawiki/php-1.33.0-wmf.6/extensions/Wikibase/repo/includes/Api/SearchEntities.php(211): Wikibase\Repo\Api\SearchEntities->getSearchEntries(array)
#7 /srv/mediawiki/php-1.33.0-wmf.6/includes/api/ApiMain.php(1576): Wikibase\Repo\Api\SearchEntities->execute()
#8 /srv/mediawiki/php-1.33.0-wmf.6/includes/api/ApiMain.php(531): ApiMain->executeAction()
#9 /srv/mediawiki/php-1.33.0-wmf.6/includes/api/ApiMain.php(502): ApiMain->executeActionWithErrorHandling()
#10 /srv/mediawiki/php-1.33.0-wmf.6/api.php(87): ApiMain->execute()
#11 /srv/mediawiki/w/api.php(3): include(string)
#12 {main}

Impact

Wikidata entity search is case-sensitive, which it isn’t supposed to be, making it harder to find entities.

Notes

This seems to be because we’re for some reason using wb_terms for search instead of CirrusSearch? Did some config get messed up?

(Contrary to what the error message suggests, we should not enable the useTermsTableSearchFields setting, since we shouldn’t be using the terms table at all here.

For some reason, this doesn’t always seen to happen. @Nikki and @Lydia_Pintscher can reproduce it, I can’t (but I can see the warnings in logstash).


TASK DETAIL
https://phabricator.wikimedia.org/T210618

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Aklapper, Lucas_Werkmeister_WMDE, Lydia_Pintscher, Nikki, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, EBjune, LawExplorer, _jensen, D3r1ck01, Wikidata-bugs, aude, jayvdb, Jdforrester-WMF, Mbch331, Jay8g, Krenair, jeremyb
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to