Difference between revisions of "Help talk:Searching"

From ArchWiki
Jump to: navigation, search
(Using quotes to find what I really want: re)
(Using quotes to find what I really want: re)
Line 13: Line 13:
 
::This might be a feature rather than a bug. See [http://www.exalead.com/search/wikipedia/search-syntax/ Wikipedia Search Syntax]. Search [https://wiki.archlinux.org/index.php?title=Special%3ASearch&profile=advanced&search=chromium+bsu&fulltext=Search&ns0=1&redirs=1&profile=advanced chromium bsu] without quotes or dash. The "-" is interpreted as the exclusion operator. -- [[User:Pointone|pointone]] 13:50, 27 January 2012 (EST)
 
::This might be a feature rather than a bug. See [http://www.exalead.com/search/wikipedia/search-syntax/ Wikipedia Search Syntax]. Search [https://wiki.archlinux.org/index.php?title=Special%3ASearch&profile=advanced&search=chromium+bsu&fulltext=Search&ns0=1&redirs=1&profile=advanced chromium bsu] without quotes or dash. The "-" is interpreted as the exclusion operator. -- [[User:Pointone|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. -- [[User:Karol|Karol]] 14:43, 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. -- [[User:Karol|Karol]] 14:43, 27 January 2012 (EST)
 +
::::There's also the possibility that it's a bug in the feature, here are some tests:
 +
::::#{{ic|chromium}} [https://wiki.archlinux.org/index.php?title=Special%3ASearch&profile=advanced&search=chromium&fulltext=Search&ns0=1&redirs=1&profile=advanced]: used for comparison
 +
::::#{{ic|chromium-bsu}} [https://wiki.archlinux.org/index.php?title=Special%3ASearch&profile=advanced&search=chromium-bsu&fulltext=Search&ns0=1&redirs=1&profile=advanced]: this gives exactly the same results as 1, but without the content previews, '''except''' for the matches that '''really''' contain {{ic|chromium-bsu}}
 +
::::#{{ic|"chromium-bsu"}} [https://wiki.archlinux.org/index.php?title=Special%3ASearch&profile=default&search=%22chromium-bsu%22&fulltext=Search]: this seems to return all the articles that contain "chromium-bsu" '''except''' for [[Games (Dansk)]], even though it indeed contains "chromium-bsu"
 +
::::#{{ic|chromium -bsu}} [https://wiki.archlinux.org/index.php?title=Special%3ASearch&profile=advanced&search=chromium+-bsu&fulltext=Search&ns0=1&redirs=1&profile=advanced]: this seems to actually exclude the pages that contain "chromium" but also "bsu", but somehow it includes [[Games (Dansk)]], which indeed contains "bsu"
 +
::::-- [[User:Kynikos|Kynikos]] 09:30, 28 January 2012 (EST)

Revision as of 14:30, 28 January 2012

Google search

Isn't it possible to put here a form with google search within wiki.archlinux.org? --Pholie 07:04, 16 Sep 2005 (EDT)

6+yo unanswer{ed,able} question, closing. -- Kynikos 05:56, 27 January 2012 (EST)

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)