Last modified: 2014-07-07 20:50:33 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T69601, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67601 - Search backend error during full_text search on forward slash
Search backend error during full_text search on forward slash
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CirrusSearch (Other open bugs)
master
All All
: High normal (vote)
: MW 1.24 version
Assigned To: Nik Everett
:
Depends on:
Blocks: 39480
  Show dependency treegraph
 
Reported: 2014-07-07 16:09 UTC by Niklas Laxström
Modified: 2014-07-07 20:50 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Niklas Laxström 2014-07-07 16:09:46 UTC
Multiple PHP warnings appeared in translatewiki.net error log after enabling CirrusSearch. This is the most common:

     21 PHP Warning:  Search backend error during full_text search for '1851d4395efd9e677744fbb61b05ee7e2b9e8b45-With this form you can create/en' after 10.  Parse error on '1851d4395efd9e677744fbb61b05ee7e2b9e8b45\-With this form you can create/en': Lexical error at line 1, column 75.  Encountered: <EOF> after : "/en"]; nested: TokenMgrError[Lexical error at line 1, column 75.  Encountered: <EOF> after : "/en"]; }{[2AB6CtULQdaQz1HlOe7BMg][translatewiki_net-bw__content_first][3]: SearchParseException[[translatewiki_net-bw__content_first][3]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"_source":["id","title","namespace","redirect.*","timestamp","text_bytes"],"fields":"text.word_count","query":{"filtered":{"query":{"bool":{"minimum_number_should_match":1,"should":[{"query_string":{"query":"1851d4395efd9e677744fbb61b05ee7e2b9e8b45\\-With this form you can create\/en","fields":["title.plain^20","redirect.title.plain^15","category.plain^8","heading.plain^5","opening_text.plain^4","text.plain^1","auxiliary_text.plain^0.8 in /www/translatewiki.net/w/includes/debug/Debug.php on line 303

Frequency of this warning is 201 per 367 (55%).

Further info:

The page in question: https://translatewiki.net/wiki/StatusNet:3ec023b9a4c1de820391f607a4a98e36668f3726-With_this_form_you_can_create/en has one revision which has been suppressed.
Comment 1 Nik Everett 2014-07-07 16:22:01 UTC
Looks like a parse error on the stupid query string.  I honestly thought we'd worked through them all in the time since we've been testing cirrus on the cluster.  It looks like its trying to kick off a regex query starting at "/en" and failing because its missing the trailing "/".  Cute.

I can't get it to fail on test2 and I'm in the middle of rebuilding my vagrant box.  Once its done I'll give this a shot locally.
Comment 2 Nik Everett 2014-07-07 16:40:19 UTC
Scratch that.  Reproduced locally.
Comment 3 Gerrit Notification Bot 2014-07-07 16:54:07 UTC
Change 144477 had a related patch set uploaded by Manybubbles:
Escape forward slashes a bit harder

https://gerrit.wikimedia.org/r/144477
Comment 4 Nemo 2014-07-07 20:50:05 UTC
Approved by Nikerabbit.
Comment 5 Gerrit Notification Bot 2014-07-07 20:50:33 UTC
Change 144477 merged by jenkins-bot:
Escape forward slashes a bit harder

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links