









<pre>
This page gives a quick overview of the search engine query syntax.  
This page is called [Search Page Help].

Use '+' to require a word, '-' to forbid a word.  For example:

{{{
          +java -emacs jsp
}}}

finds pages that MUST include the word &quot;java&quot;, and MAY NOT include
the word &quot;emacs&quot;.  Also, pages that contain the word &quot;jsp&quot; are
ranked before the pages that don't.

All searches are case insensitive.  If a page contains both
forbidden and required keywords, it is not shown.

!! Query syntax table

For more info look at %%slimbox [Lucene's query syntax|http://lucene.apache.org/java/docs/queryparsersyntax.html]/%.

|| term  | find a single Term is easy   | {{hello}}
|| &quot;...&quot; | find a group of words | {{&quot;hello dolly&quot;}}
|| ?     | any single character (the ? can not be the 1st character of a search) | {{te?t}}
|| *     | any multiple character (the * can not be the 1st character of a search) | {{test*}}
|| OR    | match document if either of the terms exist | {{&quot;hello dolly&quot; hello}}\\{{&quot;hello dolly&quot; OR hello}}
|| AND   | match documents where both terms exists | {{&quot;hello dolly&quot; AND &quot;dolly lucy&quot;}}
|| +     | requires that the term after the &quot;+&quot; symbol exist | {{+hello dolly}}
|| -\\NOT | exclude documents that contain the term after the &quot;-&quot; symbol \\ exclude also supported with NOT or ! | {{&quot;hello dolly&quot; -&quot;dolly lucy&quot;}}\\{{&quot;hello dolly&quot; NOT &quot;dolly lucy&quot;}}
|| (...) | use parentheses to form sub queries | {{(hello OR dolly) AND website}}
|| ~~    | ''fuzzy'' searchs to match terms similar in spelling | {{roam~ }}
|| ~n    | ''proximity'' search, within a distance expressed in number of words | {{&quot;hello dolly&quot;~10}}
|| ^n    | ''boost'' factor to increase importance in a search | {{&quot;hello dolly&quot;^4 &quot;dolly lucy&quot;}}
|| \     | escape special characters: __ + - &amp;&amp; ~|~| ! ( ) { } [[ ] ^ &quot; ~ * ? : \ __ | {{\(1\+1\)\:2}} to find (1+1):2

You can restrict the search domain by prefixing your query:
|| author:''term''     | find pages modified by certain author(s) | {{author:~JohnFoo}}
|| attachment:''term'' | find pages with certain attachment name  | {{attachment:brushed*}}
|| name:''term''       | find pages with certain page name        | {{name:Main}}
|| content:''term''     | find pages with certain content          | {{content:jspwiki}}
</pre>

