diff options
Diffstat (limited to 'quicksearch.html')
-rw-r--r-- | quicksearch.html | 75 |
1 files changed, 41 insertions, 34 deletions
diff --git a/quicksearch.html b/quicksearch.html index df7e85ccf..1b1ecb1a6 100644 --- a/quicksearch.html +++ b/quicksearch.html @@ -1,88 +1,95 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Bugzilla QuickSearch</title> </head> <body bgcolor="#ffffff"> +<p> <small>If you are already familiar with the original <a href="query.cgi">Bugzilla Query Form</a>, you may prefer <a href="quicksearchhack.html">this form</a>. </small> +</p> -<p> -<script src="localconfig.js"></script> -<script src="quicksearch.js"></script> +<script src="localconfig.js" type="text/javascript"></script> +<script src="quicksearch.js" type="text/javascript"></script> <h1>Bugzilla QuickSearch</h1> +<p> Type in one or more words (or word fragments) to search for: +</p> <form name="f" action="show_bug.cgi" method="get" onsubmit="QuickSearch(f.id.value); return false;"> <table> <tr> - <td><input type="text" size="40" name="id"/></td> - <td align=left><input type="submit" value="Search"/></td> + <td><input type="text" size="40" name="id"></td> + <td align="left"><input type="submit" value="Search"></td> <!-- <td><a href="javascript:QuickSearch_Help();">[Help]</a></td> --> </tr> </table> </form> -<script> +<script type="text/javascript"> <!-- document.forms['f'].id.focus(); //--> </script> -<p> <h2>Getting Started</h2> <ul> <li> This is <b>case-insensitive</b> search. <ul> <li> <tt>table</tt> , <tt>Table</tt> - and <tt>TABLE</tt> are all the same. + and <tt>TABLE</tt> are all the same.</li> </ul> +</li> <li> This is <b>all words as substrings</b> search.<br> Therefore you should <b>use stems</b> to get better results: <ul> <li> Use <tt>localiz</tt> instead of <tt>localize</tt> or - <tt>localization</tt>. + <tt>localization</tt>.</li> <li> Use <tt>bookmark</tt> instead of <tt>bookmarks</tt> or - <tt>bookmarking</tt>. + <tt>bookmarking</tt>.</li> </ul> +</li> </ul> -<a name="features"/> -<h2>Features</h2> +<h2><a name="features">Features</a></h2> <ul> <li> Boolean operations: ``<tt>-foo</tt>''(NOT), ``<tt>foo bar</tt>''(AND), ``<tt>foo|bar</tt>''(OR). <ul> <li> <b>NOT</b>: Use <tt><b>-</b><i>foo</i></tt> to exclude bugs - with <tt><i>foo</i></tt> in the summary. - <li> <b>AND</b>: Space-separated words are treated as a conjunction. - <li> <b>OR</b>: Within a word, "|"-separated parts denote alternatives. - <li> Besides "|", a comma can be used to separate alternatives. - <li> OR has higher precedence than AND; AND is the top level operation + with <tt><i>foo</i></tt> in the summary.</li> + <li> <b>AND</b>: Space-separated words are treated as a conjunction.</li> + <li> <b>OR</b>: Within a word, "|"-separated parts denote alternatives. </li> + <li> Besides "|", a comma can be used to separate alternatives.</li> + <li> OR has higher precedence than AND; AND is the top level operation</li> </ul> <i>Example:</i> <tt>url,location bar,field -focus</tt> means - <nobr>(<tt>url</tt> OR <tt>location</tt>) AND (<tt>bar</tt> OR <tt>field</tt>) AND (NOT <tt>focus</tt>)</nobr> - <p> -<li> Use <tt>+foo</tt> to search for bugs where the <b>summary</b> contains <tt>foo</tt> as a <b>substring</b>.<br> + (<tt>url</tt> OR <tt>location</tt>) AND (<tt>bar</tt> OR <tt>field</tt>) AND (NOT <tt>focus</tt>) +<p> +</li> +<li>Use <tt>+foo</tt> to search for bugs where the <b>summary</b> contains <tt>foo</tt> as a <b>substring</b>.<br> Use <tt>#foo</tt> to search for bugs where the <b>summary</b> contains the <b>word</b> <tt>foo</tt> <ul> - <li> <tt>+brow</tt> does not find all bugs in the <tt>Browser</tt> product - <li> <tt>#title</tt> does not find bugs bugs with <tt>titlebar</tt> or <tt>titled</tt> + <li> <tt>+brow</tt> does not find all bugs in the <tt>Browser</tt> product</li> + <li> <tt>#title</tt> does not find bugs bugs with <tt>titlebar</tt> or <tt>titled</tt> </li> </ul> Phrases with special chars (space, comma, +, -, #, ...) can be <b>quoted</b>: <ul> - <li> <tt>"lock icon"</tt> + <li> <tt>"lock icon"</tt> </li> </ul> <p> +</li> <li> <b>Open vs. Resolved Bugs</b>:<br> By default, only open (i.e. unresolved) bugs are shown. Use <tt>+DUP</tt> as first word in your query @@ -92,10 +99,10 @@ document.forms['f'].id.focus(); regardless of status or resolution. Searching for duplicates is recommended if you can't find an open bug directly. <ul> - <li> <tt>+DUP,FIXED table border</tt> - <li> <tt>ALL mouse wheel</tt> + <li> <tt>+DUP,FIXED table border</tt> </li> + <li> <tt>ALL mouse wheel</tt> </li> </ul> -<p> +<p></li> <li> <b>Focus the Search with Products & Components</b>:<br> To search for bugs in product "Foo Bar" only, add <tt>:foo</tt> or <tt>:bar</tt> or both @@ -103,6 +110,7 @@ document.forms['f'].id.focus(); You can do this with any substring of a <a href="describecomponents.cgi">product or component</a> to focus the search. +</li> </ul> <h2>More Tips</h2> @@ -110,19 +118,21 @@ document.forms['f'].id.focus(); <ul> <li> You can also use this tool to <b>lookup</b> a bug by its number. <ul> - <li> <tt>12345</tt> + <li> <tt>12345</tt> </li> </ul> +</li> <li> A comma-separated list of bug numbers gives you a list of these bugs. <ul> - <li> <tt>12345,23456,34567</tt> + <li> <tt>12345,23456,34567</tt> </li> </ul> +</li> </ul> <p> By default, the following fields are searched: Summary, Keywords, Product, Component, Status Whiteboard. If a word looks like a part of a URL, that field is included in the search, too. -<p> +</p> <!-- <small>For further details, see <a href="http://bugzilla.mozilla.org/show_bug.cgi?id=61561">Bug 61561</a> and @@ -131,14 +141,11 @@ is included in the search, too. --> <hr> +<p> Use the powerful <a href="query.cgi">Bugzilla Query Form</a> for advanced queries. +</p> </body> </html> - - - - - |