Help:Searching

From PsychWiki - A Collaborative Psychology Wiki

(Difference between revisions)
Jump to: navigation, search
Stenstro (Talk | contribs)
Line 6: Line 6:
==Surfing mainpage==
==Surfing mainpage==
-
*We have structured the content within PsychWiki so that all the pages are accessible through the [[Main Page]]. The four main content areas...   articles within each link....
+
We have structured the content within PsychWiki so that all the pages are accessible through the [[Main Page]]:
 +
*All pages fall within one of the main content areas listed on the mainpage
 +
 
 +
 
 +
The same information can be accessed through the left-hand sidebar:
 +
*
 +
 
 +
 
 +
 
 +
and listed in the "Content areas..." window in the left-hand sidebar.
 +
*You can also survey all pages by clicking on the "All Topics" link in the left-hand sidebar.
 +
 
 +
 
Line 14: Line 26:
*The '''Go''' button 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'''
*The '''Go''' button 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'''
*The '''Search''' button is a full-text search for the ...  
*The '''Search''' button is a full-text search for the ...  
-
 
Line 20: Line 31:
Full-text search using the Search function on the left side bar  
Full-text search using the Search function on the left side bar  
"Go" button allows direct viewing of a specified article's contents (tries near match if no exact hit)  
"Go" button allows direct viewing of a specified article's contents (tries near match if no exact hit)  
 +
 +
 +
 +
===Tips===
 +
====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.
 +
 +
 +
See [[Help:Common words, searching for which is not possible]] for the stop words filtered out by the database. From there one can at least go to a page with a stop word as title. Searching for the combination of one or more words and the common word "not" give a database query syntax error due to a bug in the software.
 +
 +
See [[Help:Short words in searches]] for a procedure to allow MySQL to index words shorter than four letters.
 +
 +
====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&euml;nberg, it depends whether this ë is stored as one character or as "&amp;euml;". In the first case one can simply search for Odilienberg (or Odili&euml;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.
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
==Using Google within PsychWiki==
 +
*The following link opens a Google search for only pages within PsychWiki.
 +
:After opening the link, type in what you are looking for:
 +
:[http://www.google.com/search?hl=en&lr=&q=site%3Apsychwiki.com&btnG=Search Google search within PsychWiki]
 +
 +
 +
 +

Revision as of 04:54, 4 September 2006

There are several ways to find what you are looking for:


Contents


Surfing mainpage

We have structured the content within PsychWiki so that all the pages are accessible through the Main Page:


The same information can be accessed through the left-hand sidebar:


and listed in the "Content areas..." window in the left-hand sidebar.



Search Function


Full-text search using the Search function on the left side bar "Go" button allows direct viewing of a specified article's contents (tries near match if no exact hit)


Tips

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.


See Help:Common words, searching for which is not possible for the stop words filtered out by the database. From there one can at least go to a page with a stop word as title. Searching for the combination of one or more words and the common word "not" give a database query syntax error due to a bug in the software.

See Help:Short words in searches for a procedure to allow MySQL to index words shorter than four letters.

Search is case-insensitive

The searches for "fortran", "Fortran" and "FORTRAN" all return the same results.


Words with special characters

In a search for a word with a 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 regular expressions 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.






Using Google within PsychWiki

After opening the link, type in what you are looking for:
Google search within PsychWiki




What links here

"What links here" allows you to view pages that link to the current page (backlinks)



Special Pages

In the "Special pages" section you can view all pages, view only new pages, most popular articles, or most wanted articles.

Personal tools
Namespaces
Variants
Actions
Navigation
Interaction
Toolbox