]> sipb.mit.edu Git - ikiwiki.git/blob - doc/ikiwiki/searching.mdwn
Merge commit 'upstream/master' into prv/po
[ikiwiki.git] / doc / ikiwiki / searching.mdwn
1 [[!meta robots="noindex, follow"]]
2
3 [[!if test="enabled(search)"
4 then="This wiki has searching **enabled**."
5 else="This wiki has searching **disabled**."]]
6
7 If searching is enabled, you can enter search terms in the search field,
8 as you'd expect. There are a few special things you can do to construct
9 more powerful searches.
10
11 * To match a phrase, enclose it in double quotes.
12 * `AND` can be used to search for documents containing two expressions.
13 * `OR` can be used to search for documents containing either one of
14   two expressions.
15 * Parentheses can be used to build up complicated search expressions. For
16   example, "(foo AND bar) OR (me AND you)"
17 * Prefix a search term with "-" to avoid it from appearing in the results.
18   For example, "-discussion" will omit "discussion".
19 * To search for a page with a given title, use "title:foo".
20 * To search for pages that contain a "bar" link, use "link:bar".