diff options
author | Jonas Smedegaard <dr@jones.dk> | 2008-06-12 15:27:34 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2008-06-12 15:27:34 +0200 |
commit | 807066884a865bdd5baf72ba42acff46eeecd3b9 (patch) | |
tree | 7026dbf4c440673f0d5517210f8812fb78eee71a | |
parent | 78605e53611bbb413f2f8da30df140d4a47ccd9f (diff) | |
parent | bbbe657d328d48fbd1e135527952f091208716f8 (diff) |
Merge branch 'master' of /home/jonas/private_webdata/ikiwiki/basewiki into master-da
-rw-r--r-- | ikiwiki.mdwn | 1 | ||||
-rw-r--r-- | ikiwiki/searching.mdwn | 20 |
2 files changed, 21 insertions, 0 deletions
diff --git a/ikiwiki.mdwn b/ikiwiki.mdwn index b1663be..903c175 100644 --- a/ikiwiki.mdwn +++ b/ikiwiki.mdwn @@ -14,3 +14,4 @@ Noget dokumentation om brug af ikiwiki: * [[ikiwiki/markdown]] * [[underside|ikiwiki/subpage]] * [[ikiwiki/openid]] +* [[ikiwiki/searching]] diff --git a/ikiwiki/searching.mdwn b/ikiwiki/searching.mdwn new file mode 100644 index 0000000..539e719 --- /dev/null +++ b/ikiwiki/searching.mdwn @@ -0,0 +1,20 @@ +[[!meta robots="noindex, follow"]] + +[[!if test="enabled(search)" +then="This wiki has searching **enabled**." +else="This wiki has searching **disabled**."]] + +If searching is enabled, you can enter search terms in the search field, +as you'd expect. There are a few special things you can do to constuct +more powerful searches. + +* To match a phrase, enclose it in double quotes. +* `AND` can be used to search for documents containing two expressions. +* `OR` can be used to search for documents containing either one of + two expressions. +* Parentheses can be used to build up complicated search expressions. For + example, "(foo AND bar) OR (me AND you)" +* Prefix a search term with "-" to avoid it from appearing in the results. + For example, "-discussion" will omit "discussion". +* To search for a page with a given title, use "title:foo". +* To search for pages that contain a "bar" link, use "link:bar". |