Help talk:Searching

From ArchWiki
Revision as of 13:53, 17 November 2012 by Kynikos (talk | contribs) (Searching for 'aria' doesn't show any 'aria2' links - bug or not?: re)
Jump to: navigation, search

Using quotes to find what I really want

If I'm looking for info about chromium-bsu (a game), and I enter 'chromium-bsu' (w/o the quotes) in the search box, I get info mostly about the chromium browser. Searching for "chromium-bsu" (with the quotes) solves this problem.

This may be non obvious and may even be a bug. Can anyone shed some light on this issue? -- Karol 13:45, 25 January 2012 (EST)

Yeah I noticed that some time ago, but never investigated it. Now that you've given me an input I can see that this could actually be a (known? didn't search for it) bug: searching for a string with a dash in the middle (without quotes) gives the same results as searching only for the part of the string before the dash, but without previewing the matching content (the dash and the second part of the string are ignored).
In short, compare the results for [1] and [2].
I guess mentioning the quoting method in this article can be useful. A bug report to MediaWiki may be even more :P (after some further testing)
-- Kynikos 05:56, 27 January 2012 (EST)
This might be a feature rather than a bug. See Wikipedia Search Syntax. Search chromium bsu without quotes or dash. The "-" is interpreted as the exclusion operator. -- pointone 13:50, 27 January 2012 (EST)
When searching Arch wiki for chromium-bsu I get matches for both chromium and chromium-bsu, so it doesn't exclude the 'bsu' part, but unnecessarily clutters the search results. -- Karol 14:43, 27 January 2012 (EST)
There's also the possibility that it's a bug in the feature, here are some tests:
  1. chromium [3]: used for comparison
  2. chromium-bsu [4]: this gives exactly the same results as 1, but without the content previews, except for the matches that really contain chromium-bsu
  3. "chromium-bsu" [5]: this seems to return all the articles that contain "chromium-bsu" except for Games (Dansk), even though it indeed contains "chromium-bsu"
  4. chromium -bsu [6]: this seems to actually exclude the pages that contain "chromium" but also "bsu", but somehow it includes Games (Dansk), which indeed contains "bsu"
-- Kynikos 09:30, 28 January 2012 (EST)

Searching for 'aria' doesn't show any 'aria2' links - bug or not?

Searching for aria doesn't show any aria2 info, even though we have a whole article about it. Is this how the fulltext search works and we should just add a redirect? -- Karol (talk) 14:25, 4 November 2012 (UTC)

Yes, that's how MediaWiki's Search function currently works, so adding redirects is the proper way of addressing issues like this. For personal use, the OpenSearch function correctly returns aria2 as a result instead, too bad it lacks a more easily accessible interface... -- Kynikos (talk) 13:53, 17 November 2012 (UTC)