Last modified: 2014-04-16 22:23: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 T64784, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62784 - Search for: Template:First government of returns error
Search for: Template:First government of returns error
Status: RESOLVED WONTFIX
Product: Wikimedia
Classification: Unclassified
lucene-search-2 (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
cirrus-fixed
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-18 15:22 UTC by Andy Matthews
Modified: 2014-04-16 22:23 UTC (History)
3 users (show)

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


Attachments

Description Andy Matthews 2014-03-18 15:22:01 UTC
I want to create a page named "Template:First government of Napoleon" on en.Wikipedia. When I search for (no quotes) 

   Template:First government of Napoleon

I get:

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

I get the same error with 

   Template:First government of 

but do not get the error with

   Template:First government

or

   Template:Government of Napoleon

which both return, e.g.

   You may create the page "Template:First government", but consider checking the search results below to see whether the topic is already covered.
Comment 1 Andre Klapper 2014-03-18 16:20:00 UTC
Confirming for https://en.wikipedia.org/w/index.php?search=Template:First government of Napoleon&title=Special%3ASearch&fulltext=Search&srbackend=LuceneSearch

but no error with our new CirrusSearch backend that will become default at some point: https://en.wikipedia.org/w/index.php?search=Template:First%20government%20of%20Napoleon&title=Special%3ASearch&fulltext=Search&srbackend=CirrusSearch
Comment 2 Andy Matthews 2014-03-18 19:09:56 UTC
This may be a database corruption problem, therefore not cirrus-fixed.(In reply to Andre Klapper from comment #1)
> Confirming for https://en.wikipedia.org/w/index.php?search=Template:First
> government of
> Napoleon&title=Special%3ASearch&fulltext=Search&srbackend=LuceneSearch
> 
> but no error with our new CirrusSearch backend that will become default at
> some point:
> https://en.wikipedia.org/w/index.php?search=Template:
> First%20government%20of%20Napoleon&title=Special%3ASearch&fulltext=Search&srb
> ackend=CirrusSearch
Comment 3 Andre Klapper 2014-03-18 23:25:28 UTC
Huh? Can you elaborate about DB corruption? I get search results listed when using the CirrusSearch backend, but primary backend currently is LuceneSearch.
Comment 4 Andy Matthews 2014-03-19 02:24:51 UTC
(In reply to Andre Klapper from comment #3)
> Huh? Can you elaborate about DB corruption? I get search results listed when
> using the CirrusSearch backend, but primary backend currently is
> LuceneSearch.

When I try with test2.Wikipedia, https://test2.wikipedia.org/w/index.php?search=Template%3AFirst+government+of+Napoleon&title=Special%3ASearch&go=Go, I get the expected "There were no results matching the query." But that is obviously not pointing to the main live WP database. 

In the production version, the error appears with any search starting with "Template:First government of", e.g. https://en.wikipedia.org/w/index.php?title=Special%3ASearch&profile=default&search=Template%3AFirst+government+of+xxx&fulltext=Search

It is hard to see that string being hard-coded into the software, so it seems more likely that there is something odd in the database. Just a guess... If it works for you with the CirrusSearch backend pointing to the production database, that is obviously not the problem. But it is a bit strange if the software is sensitive to that string.
Comment 5 Andy Matthews 2014-03-19 02:34:11 UTC
O.k. - duh - I see that you did try with CirrusSearch backend pointing to the production database, and results were o.k. Not worth worrying about.
Comment 6 Chad H. 2014-04-16 22:23:24 UTC
It is a problem in lsearchd. Could be anything though .I've been suspecting enwiki search index corruption for some weeks now with lsearchd...

It's fixed by default in Cirrus because we don't report such vague errors like this nor is our index corrupted.

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