|
|
Line 20: |
Line 20: |
| results. Short numbers, and words that appear in half of all pages, will also not be found. | | results. Short numbers, and words that appear in half of all pages, will also not be found. |
| In this case, drop those words and rerun the search. | | In this case, drop those words and rerun the search. |
|
| |
| ===Search is case-insensitive===
| |
| The searches for "fortran", "Fortran" and "FORTRAN" all return the same results.
| |
|
| |
| <!-- ===Boolean search possible===
| |
| You can use the words "and", "or" and "not" and parentheses in order to
| |
| formulate more complicated requests.
| |
| If none of those words is specified, "and" is used by default.
| |
| For instance, "indian not american" will return all pages that contain the
| |
| word "indian" but don't contain the word "american".
| |
| The search "(Adolph or Adolf) and Hitler" will return all pages which
| |
| contain "Hitler" and either "Adolf" or "Adolph".
| |
| -->
| |
|
| |
| ===Words with special characters===
| |
| In a search for a word with a [[w:diaeresis|diaeresis]], such as Sint Odiliënberg, it depends whether this ë is stored as one character or as "&euml;". In the first case one can simply search for Odilienberg (or Odiliënberg); in the second case it can only be found by searching for Odili, euml and/or nberg. This is actually a bug that should be fixed -- the entities should be folded into their raw character equivalents so all searches on them are equivalent. See also [[Help:Special characters]].
| |
|
| |
|
| |
| === Phrase ===
| |
| There is no method for searching for a phrase. Contrary to what you might expect, enclosing phrases in double quotation marks such as "can of tuna" will retrieve all pages containing "of" "tuna" and "can".
| |
|
| |
| ==Searching limitations and Gotchas==
| |
|
| |
| ===No regular expressions or wildcards===
| |
| You cannot use [[w:regular expression|regular expression]]s or wildcards such as ? or *. If you don't know what that is, don't worry about it. To search for pages with the words "boat" or "boats" search like this: "boat or boats".
| |
|
| |
| ===Words in single quotes===
| |
| If a word appears in a page with single quotes, you can only find it if you search for the word with quotes. Since this is rarely desirable it is better to use double quotes in pages, for which this problem does not arise.
| |
|
| |
| An apostrophe is identical to a single quote, therefore Mu'ammar can be found searching for exactly that (and not otherwise). A word with apostrophe s is an exception in that it can be found also searching for the word without the apostrophe and the s.
| |
|
| |
| ===Delay in updating the search index===
| |
| For reasons of efficiency and priority, very recent changes to pages are not always immediately taken into account in searches.
| |
Revision as of 13:35, 26 January 2006
There should be a small search box at the side of the screen, marked search, followed by Go and Search. Just type what you're looking for into the search box and press the Enter key. Or, click Go or Search.
The difference between Go (same as enter) and Search is that Go first looks for an article with the given string as its title, and if one is found immediately goes to the indicated article. If Go fails to find an article, it then automatically executes Search which is a full-text search for the given words.
Limiting results
Wikipedia's default search mode will turn up results with any of the words in your query. For instance, search engine turns up many results containing only "search" but not "engine" or only "engine" but not "search" in addition to the ones you probably wanted, which contain both words.
To limit to results that include all words, put a "+" at the beginning of each word: +search +engine returns only pages containing both words, like Google's default mode.
You can also do a phrase search by enclosing words in quotes: "search engine" turns up a smaller set of results, which not only have both words but have them in order.
To exclude results that include some word, put a "-" at the beginning: search -engine
Avoid short and common words
This is the most likely cause of an unexpected failed search.
If your search terms include a common "stop word" (such as "the", "one", "your", "more", "right", "while", "when", "who", "which",
"such", "every", "about", "onto"), then your search will fail without any
results. Short numbers, and words that appear in half of all pages, will also not be found.
In this case, drop those words and rerun the search.