Last modified: 2010-05-15 15:33:44 UTC
When more than one word is filled in in a search, the search returns all pages containing _any_ of those words. It sould be much more useful to get the pages containing _all_ of those words. (In particular on the Chinese Wikipedia, where each character is considered a single word, I am getting the feeling one might as well switch off searching without losing much usability...)
well, it would be even better if we could select "AND" or "OR" mode :)
Didn't we fix this many versions ago?
Currently with SearchMySQL4.php, all searches *are* "AND" by default; if no other operator is present, + is prepended to each word in the search. However, there seems to be no way to select "OR" mode with the current behavior; you can't remove the + from any word, because SearchEngine.php strips all non- alphanumeric characters from the search. The patch attached to bug 5711 allows admins to choose "AND" or "OR" mode for the default mode of MySQL 4.x-based search.