Last modified: 2014-05-12 22:04:02 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 T58936, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56936 - Searches fail on en.wp: "An error has occurred while searching: The search backend returned an error:"
Searches fail on en.wp: "An error has occurred while searching: The search ba...
Status: RESOLVED WONTFIX
Product: Wikimedia
Classification: Unclassified
lucene-search-2 (Other open bugs)
wmf-deployment
All All
: Low normal (vote)
: ---
Assigned To: Nik Everett
cirrus-fixed
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-12 09:34 UTC by billinghurst
Modified: 2014-05-12 22:04 UTC (History)
10 users (show)

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


Attachments

Description billinghurst 2013-11-12 09:34:17 UTC
Searches at enWP fail, returning the error

An error has occurred while searching: The search backend returned an error: 

action has been occurring > 10 minutes, multiple attempts.  Via IRC, another in #wikimedia-tech another can confirm the issue
Comment 1 Tomasz W. Kozlowski 2013-11-12 10:16:18 UTC
WORKSFORME?
Comment 2 billinghurst 2013-11-12 10:25:33 UTC
Still not for me.  Pinging enWP tells me that I am using 198.35.26.96 so is it something related to the West Coast servers?
Comment 3 Andre Klapper 2013-11-12 11:52:28 UTC
European ESAMS here (91.198.174.192) and no issues, of course. :-/

Source code would provide info such as
   <!-- Served by mw1061 in 0.553 secs. -->
but that won't help much here.

If that's still an issue, maybe somebody in #wikimedia-ops might also have an idea.
Comment 4 Nik Everett 2013-11-12 13:58:52 UTC
Working for me even when I put 
198.35.26.96 en.wikipedia.org
in /etc/hosts

I'll check some logs.
Comment 5 billinghurst 2013-11-12 14:08:26 UTC
Served by mw1164 in 6.653 secs

Didn't know that there was commentary in html comment

search term: history of the united states flag

still getting it
Comment 6 billinghurst 2013-11-12 14:20:30 UTC
Hmm, it seems to be choking with the "of the" in the search.  Now if I trim it, it returns something.
<!-- Served by mw1170 in 2.623 secs. -->
Comment 7 Nik Everett 2013-11-12 14:39:39 UTC
When I forward my requests directly to mw1164 I still don't get it (with or without "of the".)  I confirmed the forwarding using the html comment.

This log should appear twice: once in mwsearch's debug log and once in the fatals log.  It looks like mwsearch's debug log has been turned off and I can't find this particular error in the fatals section.  Someone more adept and error scraping will have to take over from here.
Comment 8 Tomasz W. Kozlowski 2013-11-12 15:18:57 UTC
Changing priority to 'High' since search engine not working is quite important :-) I would've changed it to 'highest', but I have no idea how many people are affected by it.

@Nik: Any possibility you can assign that more adept person to the bug, or have you already informed them using a different medium? It's generally nice to know people are actively working on resolving this kind of bugs, thanks :-)
Comment 9 Nik Everett 2013-11-12 17:55:17 UTC
We've finally got the logs cranked up enough that we should be able to really see these failures.  If anyone watching this bug has the magic touch to reproduce the problem, then please do so now.

Also, assigning to myself because I'm working on it any way.
Comment 10 Nik Everett 2013-11-12 19:03:21 UTC
For posterity the errors that lucenesearch logs for (pretty frequently) without an explanation look like they are caused by queries almost matching a url but lucene search not doing the right thing with them:

w:.@.
.:80

It seems to hate :s.

Searching for a single "." causes the "empty search" error.
Comment 11 billinghurst 2013-11-13 09:58:23 UTC
I can replicate the error and it almost seems like a cached query error, as I can change the order in the query from "of the" to be "the of" and the second query works, and the first will fail.  It is only the permutation of "history of the united states flag" that is failing.

Last tests run at 0955 GMT

As I cannot get this to fail in any other combination, I am moving it all back to normal and normal.
Comment 12 Tomasz W. Kozlowski 2014-01-09 11:36:54 UTC
This is still occurring on the English Wikipedia: 

https://en.wikipedia.org/w/index.php?title=Special:Search&search=many%20small%20edits&fulltext=Search&profile=help&redirs=1

<!-- Served by mw1169 in 3.159 secs. -->
Comment 13 MZMcBride 2014-03-03 09:42:02 UTC
https://en.wikipedia.org/w/index.php?title=Special:Search&search=small%20a&fulltext=Search&profile=help&redirs=1 may be related (from OlEnglish on IRC).

As far as I can tell, this is Lucene-specific and will be fixed when new search becomes default. The short-term workaround is probably to enable new search for your account using Special:BetaFeatures, if it's available on your wiki.
Comment 14 Marcin Cieślak 2014-05-03 20:32:00 UTC
Got this today when searching for "(-)" - https://en.wikipedia.org/w/index.php?title=Special:Search&search=(-)&fulltext=Search&profile=help&redirs=1

No error when switching to the new search feature in beta.
Comment 15 Chad H. 2014-05-12 22:04:02 UTC
Known bug in MWSearch/lsearchd, not a problem in Cirrus/MWSearch. Moving and marking WONTFIX as appropriate.

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


Navigation
Links