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.

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.

Line 11:

Line 7:

: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)

: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)

:-- [[User:Kynikos|Kynikos]] 05:56, 27 January 2012 (EST)

:-- [[User:Kynikos|Kynikos]] 05:56, 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)

+

::::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 11:55, 21 November 2012

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).

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: