summaryrefslogtreecommitdiff
path: root/ikiwiki/searching.mdwn
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2008-06-14 00:21:11 +0200
committerJonas Smedegaard <dr@jones.dk>2008-06-14 00:21:11 +0200
commitd0a91db698785289bf9a472d8d3e31ede987b112 (patch)
treeb259399a3fcf09847e6f202c0f75db2e98e8c41e /ikiwiki/searching.mdwn
parentaaafb8f31f272a295d68193df8bf77a543a90777 (diff)
parentbbbe657d328d48fbd1e135527952f091208716f8 (diff)
Merge branch 'master' into scs
Diffstat (limited to 'ikiwiki/searching.mdwn')
-rw-r--r--ikiwiki/searching.mdwn20
1 files changed, 20 insertions, 0 deletions
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".