<li><aclass="backlink"title="Click to do a full-text search for this title"href="./HelpOnSearching?action=fullsearch&value=linkto%3A%22HelpOnSearching%22&context=180">HelpOnSearching</a></li>
<spanclass="anchor"id="line-10"></span><spanclass="anchor"id="line-11"></span><pclass="line862">With the <ahref="./MoinMoin.html">MoinMoin</a> search engine the same search patterns are allowed in the search and title search input fields as in the parameters for the <tt>FullSearch</tt> and the <tt>PageList</tt> macros. <spanclass="anchor"id="line-12"></span><spanclass="anchor"id="line-13"></span><ul><li>There may be several search term seperated by white space <spanclass="anchor"id="line-14"></span><ul><li>Terms are combined by default with an AND operation - only pages containing all search term are returned <spanclass="anchor"id="line-15"></span></li><li>Double or single quotes may be used to include white space into search terms. <spanclass="anchor"id="line-16"></span></li></ul></li><li><pclass="line891"><tt>-</tt> before a search term means NOT - pages containing this term are excluded from the result <spanclass="anchor"id="line-17"></span></li><li><pclass="line891"><tt>regex:TERM</tt> is treated as regular expression <spanclass="anchor"id="line-18"></span></li><li><pclass="line891"><tt>title:TERM</tt> searches in pages that their titles match TERM <spanclass="anchor"id="line-19"></span><ul><li>Normal search terms do search the titles, too. Matches in titles get more weight as matches in pages. <spanclass="anchor"id="line-20"></span></li></ul></li><li><pclass="line891"><tt>case:TERM</tt> searches case sensitive <spanclass="anchor"id="line-21"></span></li><li><pclass="line891"><tt>linkto:TERM</tt> searches for links to TERM <spanclass="anchor"id="line-22"></span></li><li><pclass="line891"><tt>title:</tt>, <tt>regex:</tt>, <tt>linkto:</tt> and <tt>case:</tt> may be used in combination in one search term <spanclass="anchor"id="line-23"></span><ul><li><pclass="line862">these modifiers may be abbreviated to any length: e. g. <tt>re:</tt>, <tt>t:</tt>, <tt>reg:</tt>, <tt>cas:</tt>, <tt>l:</tt><spanclass="anchor"id="line-24"></span></li><li><pclass="line891"><tt>-</tt> must be put before any other modifiers <spanclass="anchor"id="line-25"></span></li></ul></li><li><pclass="line891"><tt>or</tt> operator has a lower precedence than the implicit AND <spanclass="anchor"id="line-26"></span></li><li>Parentheses can be used for grouping <spanclass="anchor"id="line-27"></span><spanclass="anchor"id="line-28"></span></li></ul><pclass="line867">
<spanclass="anchor"id="line-32"></span></pre><spanclass="anchor"id="line-33"></span><pclass="line874">searches for help pages that contain the word "macro". <spanclass="anchor"id="line-34"></span><spanclass="anchor"id="line-35"></span><pclass="line867"><spanclass="anchor"id="line-36"></span><pre>apple (computer or "operating system")
<spanclass="anchor"id="line-37"></span></pre><spanclass="anchor"id="line-38"></span><pclass="line874">searches for pages containing the word "apple" and at least one of "computer" or "operating system". <spanclass="anchor"id="line-39"></span><spanclass="anchor"id="line-40"></span><pclass="line867"><spanclass="anchor"id="line-41"></span><pre>windows winamp or linux xmms
<spanclass="anchor"id="line-42"></span></pre><spanclass="anchor"id="line-43"></span><pclass="line874">searches for pages containing both "windows" and "winamp", and also for pages containing both "linux" and "xmms". <spanclass="anchor"id="line-44"></span><spanclass="anchor"id="line-45"></span><pclass="line867"><spanclass="anchor"id="line-46"></span><pre>"is text"
<spanclass="anchor"id="line-47"></span></pre><spanclass="anchor"id="line-48"></span><pclass="line862">Will match "th<strong>is text</strong>" or "<strong>is text</strong>s". Quotes are used only to include whitespace, and do not mean "exactly this phrase". <spanclass="anchor"id="line-49"></span><spanclass="anchor"id="line-50"></span><pclass="line867"><spanclass="anchor"id="line-51"></span><pre>linkto:WindowsPage title:Linux
<spanclass="anchor"id="line-52"></span></pre><pclass="line862"> searches for pages that have "Linux" in the page name and that link to WindowsPage<spanclass="anchor"id="line-53"></span><spanclass="anchor"id="line-54"></span><pclass="line867"><spanclass="anchor"id="line-55"></span><pre>r:\bdog\b
<spanclass="anchor"id="line-56"></span></pre><pclass="line862"> searches for the word "dog" and does <em>not</em> find e.g. the word "doggy"<spanclass="anchor"id="line-57"></span><spanclass="anchor"id="line-58"></span><pclass="line867">
<h2id="head-c8ae2de9d1eed6db4bf9247c1c99f48d65958063">TitleSearch and PageList</h2>
<spanclass="anchor"id="line-59"></span><ul><li>uses the same patterns <spanclass="anchor"id="line-60"></span></li><li><pclass="line891"><tt>title:</tt> is virtually added to every search term <spanclass="anchor"id="line-61"></span></li></ul><spanclass="anchor"id="bottom"></span></div><pid="pageinfo"class="info"lang="en"dir="ltr">HelpOnSearching (last modified 2007-04-08 01:53:22)</p>
<li><ahref="http://moinmoin.wikiwikiweb.de/">MoinMoin Powered</a></li><li><ahref="http://www.python.org/">Python Powered</a></li><li><ahref="http://validator.w3.org/check?uri=referer">Valid HTML 4.01</a></li>