Page MenuHomePhabricator

Search backend error during title prefix search warning
Closed, ResolvedPublic

Description

Warning: Search backend error during title prefix search for '贵州省瞬时速度团头鲂身体c实施ysstsstsg说tyttxy以推销员会同香港推广系统在同他讨厌她团体淘汰赛系统大选于它拥有一天天用于与体育学院国ttxzyttxtxytdttyyyztdsytstsstxtttd天天体育系统的摄像头听到他他偷笑偷笑太阳团体杏眼桃腮他要tttxx y'. [Called from {closure} in /usr/local/apache/common-local/php-1.22wmf16/extensions/CirrusSearch/CirrusSearchSearcher.php at line 72] in /usr/local/apache/common-local/php-1.22wmf16/includes/debug/Debug.php on line 296

Possibly related:

Warning: json_encode() [<a href='function.json-encode'>function.json-encode</a>]: Invalid UTF-8 sequence in argument in /usr/local/apache/common-local/php-1.22
wmf16/extensions/CirrusSearch/Elastica/lib/Elastica/Transport/Http.php on line 95


Version: master
Severity: normal

Details

Reference
bz54048

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:10 AM
bzimport added a project: CirrusSearch.
bzimport set Reference to bz54048.
bzimport added a subscriber: Unknown Object (MLST).

So rather than chopping the search string at 255 bytes we'll return an error to the user which will manifest on the page as having no results.

Change 84320 had a related patch set uploaded by Manybubbles:
Warn over api when prefix search too long

https://gerrit.wikimedia.org/r/84320

Change 84322 had a related patch set uploaded by Manybubbles:
Test for warning if prefix search too long

https://gerrit.wikimedia.org/r/84322

Change 84322 merged by jenkins-bot:
Test for warning if prefix search too long

https://gerrit.wikimedia.org/r/84322

Change 84320 merged by jenkins-bot:
Warn over api when prefix search too long

https://gerrit.wikimedia.org/r/84320

In production and we haven't seen these errors since.