Last modified: 2013-10-29 08:08:43 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 T49770, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47770 - Searching for strings without letters or numbers returns error without description ("An error has occurred while searching: The search backend returned an error:")
Searching for strings without letters or numbers returns error without descri...
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
MWSearch (Other open bugs)
unspecified
All All
: High major with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: i18n
: 51790 51887 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-27 10:39 UTC by Liangent
Modified: 2013-10-29 08:08 UTC (History)
6 users (show)

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


Attachments

Comment 2 Michael M. 2013-07-18 07:28:43 UTC
Rephrasing summary and raising priority according to observations on https://de.wikipedia.org/wiki/Wikipedia:Fragen_zur_Wikipedia#Hat_die_.28Volltext-.29Suche_ein_Unicode-Problem.3F:

It seems like all characters that are neither letters nor numbers (according to Unicode General Category) are removed from the search string. This includes private characters as well as surrogates (which removes all characters outside BMP, even if they are letters). If the resulting string is empty, the said error is thrown. Some examples:

https://en.wikipedia.org/w/index.php?title=Special%3ASearch&profile=default&search=a%EE%80%80&fulltext=Search (search from first comment, with an "a" prepended, is treated like a search for "a" alone)

https://en.wikipedia.org/w/index.php?title=Special%3ASearch&profile=default&search=%24&fulltext=Search (search for "$", throws error)

https://en.wikipedia.org/w/index.php?title=Special%3ASearch&profile=default&search=!%22%C2%A7%24%25%26%2F%28%29%3D%3F%3C%3E*%2B%27%23%2C.%3B%3A-_&fulltext=Search (search for a string of punctuation chars, throws error)

Probably namespaces are removed from the search, too, which causes bug 49675 with the same error thrown.
Comment 3 Andre Klapper 2013-07-18 09:03:38 UTC
Thanks for investigating. This might also explain several other bug reports. :-/
Comment 4 Michael M. 2013-07-19 08:10:48 UTC
I opened bug 51661 for the characters outside the BMP. If the user enters a search that doesn't contain any indexed character, one can't expect a sensible result. But of course there should be a descriptive error message, like "Sorry, there are no results because no part of your search is in the search index. Please add some letters or numbers to your search to get a result."
Comment 5 Michael M. 2013-07-22 09:41:52 UTC
*** Bug 51790 has been marked as a duplicate of this bug. ***
Comment 6 Andre Klapper 2013-07-24 07:04:54 UTC
*** Bug 51887 has been marked as a duplicate of this bug. ***
Comment 7 Chad H. 2013-10-29 02:05:49 UTC
Marking WONTFIX as MWSearch has reached its end of life and won't be improved further.

We have a similar issue in CirrusSearch which is being tracked at bug 53013.

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


Navigation
Links