helmo added a comment.

  Removing the `format=json` part of that url shows a warning of type 
'error'... that looks like https://phabricator.wikimedia.org/T260276
  
  The code change there only looks cosmetic in no longer showing this error. 
  I manually patched in the changes 
<https://gerrit.wikimedia.org/r/c/mediawiki/extensions/WikibaseCirrusSearch/+/621584/1/src/EntitySearchElastic.php>,
 which indeed hides the error...
  But what could be causing it?
  
  On 
https://api.kunstmuseum.nl/w/index.php?search=figure&title=Special%3ASearch&fulltext=1
 It's also showing `An error has occurred while searching: We could not 
complete your search due to a temporary problem. Please try again later. ` But 
there is nothing related in the docker logs unfortunately to point to a cause.
  
  In /var/log/mediawiki/error.log I saw the same error with a stacktrace.
  
    2020-10-08 07:43:01 807591ec944f my_wiki: [46cfcdb2d547f4ac352ea8f1] 
/w/api.php?action=wbsearchentities&search=gogh&format=json&language=en&uselang=en&type=item
   ErrorException from line 333 of /var/www/html/includes/debug/MWDebug.php: 
PHP Warning: 
{"type":"error","message":"cirrussearch-backend-error","params":[]} [Called 
from Wikibase\Search\Elastic\EntitySearchElastic::getRankedSearchResults in 
/var/www/html/extensions/WikibaseCirrusSearch/src/EntitySearchElastic.php at 
line 318]
    #0 [internal function]: MWExceptionHandler::handleError(integer, string, 
string, integer, array)
    #1 /var/www/html/includes/debug/MWDebug.php(333): trigger_error(string, 
integer)
    #2 /var/www/html/includes/debug/MWDebug.php(188): 
MWDebug::sendMessage(string, array, string, integer)
    #3 /var/www/html/includes/GlobalFunctions.php(1079): 
MWDebug::warning(string, integer, integer, string)
    #4 
/var/www/html/extensions/WikibaseCirrusSearch/src/EntitySearchElastic.php(318): 
wfLogWarning(string)
    #5 
/var/www/html/extensions/Wikibase/repo/includes/Api/CombinedEntitySearchHelper.php(48):
 Wikibase\Search\Elastic\EntitySearchElastic->getRankedSearchResults(string, 
string, string, integer, boolean)
    #6 
/var/www/html/extensions/Wikibase/repo/includes/Api/TypeDispatchingEntitySearchHelper.php(54):
 Wikibase\Repo\Api\CombinedEntitySearchHelper->getRankedSearchResults(string, 
string, string, integer, boolean)
    #7 
/var/www/html/extensions/Wikibase/repo/includes/Api/SearchEntities.php(120): 
Wikibase\Repo\Api\TypeDispatchingEntitySearchHelper->getRankedSearchResults(string,
 string, string, integer, boolean)
    #8 
/var/www/html/extensions/Wikibase/repo/includes/Api/SearchEntities.php(254): 
Wikibase\Repo\Api\SearchEntities->getSearchEntries(array)
    #9 /var/www/html/includes/api/ApiMain.php(1598): 
Wikibase\Repo\Api\SearchEntities->execute()
    #10 /var/www/html/includes/api/ApiMain.php(537): ApiMain->executeAction()
    #11 /var/www/html/includes/api/ApiMain.php(508): 
ApiMain->executeActionWithErrorHandling()
    #12 /var/www/html/api.php(87): ApiMain->execute()
    #13 {main}

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

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

To: helmo
Cc: Addshore, Aklapper, helmo, Samantha_Alipio_WMDE, Akuckartz, darthmon_wmde, 
Jelabra, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Asahiko, despens, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to