Last modified: 2014-09-24 00:12:36 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 T31987, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29987 - Clicking "next" or "500" in [[Special:Search]] gets "There were no results matching the query." error
Clicking "next" or "500" in [[Special:Search]] gets "There were no results ma...
Status: NEW
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
1.20.x
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-20 20:48 UTC by Helder
Modified: 2014-09-24 00:12 UTC (History)
2 users (show)

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


Attachments

Description Helder 2011-07-20 20:48:28 UTC
1) Go to [[Main Page]]
2) Type in the search box something like:

 Just a test

3) Press ENTER, and you will be taken to the page
http://en.wikipedia.org/w/index.php?title=Special%3ASearch&search=Just+a+test
4) Click in the link "Help and Project pages" which takes you to
http://en.wikipedia.org/w/index.php?title=Special:Search&search=Just%20a%20test&fulltext=Search&ns4=1&ns12=1&redirs=0
which shows "Results 1–20 of 21,183 for Just a test"
5) Click in the link to show "500" items (in the bottom of the page)
------------------------------------------------------------
View (previous 20 | next 20) (20 | 50 | 100 | 250 | [[500]])
------------------------------------------------------------
This will take you to 
http://en.wikipedia.org/w/index.php?title=Special:Search&ns4=1&ns12=1&redirs=1&search=Just+a+test&limit=500&offset=0
which shows "There were no results matching the query."

This is very weird because when the user clicks on "500" it expects to see [[more results]], not [[less]] (and certainly not [[no results at all]])

Why is this happening?
Comment 1 Robert Stojnic 2011-07-20 20:51:04 UTC
Backend timeout. During high load times, it can take more time than the current timeout (6s? 10s?) to actually fetch the results, so you get zero results. Reloading the page a couple of times you eventually give you the results.
Comment 2 Helder 2011-07-20 20:57:17 UTC
(In reply to comment #1)
> Reloading the page a couple of times you eventually give you the results.

Doesn't seems to solve the problem here.

On the other hand, if I click on "Search" button again, some results are displayed, but the option "limit=500" is then discarded (and if I click on "500" again I get no results).
Comment 3 Sumana Harihareswara 2013-03-15 22:04:18 UTC
Has this been reproducible recently?
Comment 4 Mark A. Hershberger 2013-03-15 22:27:19 UTC
I just now reproduced this.
Comment 5 Helder 2014-07-09 16:59:18 UTC
I'm still getting
"An error has occurred while searching: HTTP request timed out."
occasionally in the URL of the "next 500" link, which is like this:
https://en.wikipedia.org/w/index.php?title=Special:Search&limit=500&offset=500&ns4=1&ns12=1&search=Just+another+test

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


Navigation
Links