Last modified: 2010-05-15 15:33:31 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 2222 - Unexpected search results with AND and OR
Unexpected search results with AND and OR
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
1.4.x
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/Special:...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-22 13:05 UTC by Zigger
Modified: 2010-05-15 15:33 UTC (History)
0 users

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


Attachments

Description Zigger 2005-05-22 13:05:58 UTC
Using http://en.wikipedia.org/wiki/Special:Search , I get unexpected results
when the search includes the upper-case word AND.  Here are some searches and
their results:

Expected results
----------------

1949
0 results: bug 42

born
92,326 results: ok

BORN
92,326 results: bug 1099

1949 born
92,326 results: bug 42 & bug 1099

and
674,190 results: ok

and born
679,813 results: bug 1099

1949 and born
679,813 results: bug 42 & bug 1099


Unexpected results
------------------

AND
search is temporarily unavailable: expected 679,813 results

AND born
search is temporarily unavailable: expected 679,813 results

1949 AND born
90 search results: expected 679,813 results
Comment 1 Zigger 2005-05-22 13:22:02 UTC
See also bug 2091, where
http://en.wikipedia.org/wiki/Special:Search?search=%22the+the%22&fulltext=Search
was also resulting in "search disabled" for a while.
Comment 2 Zigger 2005-05-22 14:33:04 UTC
Also:

or
319,082 results

OR
search disabled: expected at least 319,082 results

OR born
search disabled: expected at least 319,082 results

1949 OR born
92,326 results: expected at least 319,082 results
Comment 3 Zigger 2005-05-22 16:19:53 UTC
Here's another couple of search quirks (which may be related):

&
Sorry, there were no exact matches to your query

&&
"search is disabled"

&  (using Go from the left navigation panel)
redirects to [[Ampersand]]
Comment 4 Brion Vibber 2005-05-22 23:18:34 UTC
'and' and 'or' are just words, they have no special significance for searching.
Comment 5 Zigger 2005-06-03 14:48:05 UTC
(In reply to comment #4)
> 'and' and 'or' are just words, they have no special significance for searching.

Isn't that why the "unexpected results" should not have happened?

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


Navigation
Links