From Ganfyd

Jump to: navigation, search


The ganfyd search facility

At the side of the screen (on the left if you are using the default skin) there is a small box, marked search, followed by two buttons, marked Go and Search. Just type what you are looking for into the search box and press the enter key. Or, click Go or Search

The 'Go' and 'Search' buttons

Pressing the Go button is the same as pressing the enter key. The ganfyd search engine will look for an article with the given search text as its title, and will go immediately to that article if found. Pressing the Search button will instruct the seach engine to do a full-text search on the text you entered, and will list all the articles which relate to the word(s) you entered.

Limiting results

Ganfyd's default search mode will turn up results with any of the words in your query. For instance, a search using heart disease turns up many results containing the word "heart" and/or the word "disease". This might be a very long list!

To limit to results that include all words, put a "+" at the beginning of each word: +heart +disease returns only pages containing both "heart" and "disease" somewhere in the text.

You can also do a phrase search by enclosing words in quotes: "heart disease" turns up a smaller set of results, returning pages which have the phrase "heart disease" in the text.

To exclude results that include some word, put a "-" at the beginning: heart disease -mitral

Avoid short and common words

If your search terms include a common "stop word" (such as "the", "one", "your", "more", "right", "while", "when", "who", "which", "such", "every", "about") it will be ignored by the search system. If you're trying to do a phrase search or all-words-only search, this may result in returning nothing at all. Short numbers, and words that appear in half of all articles, will also not be found. In this case, drop those words and rerun the search.

Case sensitivity

Search is always case-insensitive, so searches for "copd", "Copd" and "COPD" all return the same results.


You can use some limited wildcards if you really want to. Look up "fulltext search" on and look down under 'boolean search' for the details. However, wildcard searches are slower, so go easy on the poor server.

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 "ë". 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 with a future release of the software -- the entities should be folded into their raw character equivalents so all searches on them are equivalent.

Words in single quotes

If a word appears in an article 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 articles, 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.