help.jsp revision 24fbcf818bcfacfba1bae434e85950953238e31b
c0550b01024b910b8c1468811c0ea663b10b1372Trond NorbyeCDDL HEADER START
c0550b01024b910b8c1468811c0ea663b10b1372Trond NorbyeThe contents of this file are subject to the terms of the
c0550b01024b910b8c1468811c0ea663b10b1372Trond NorbyeCommon Development and Distribution License (the "License").
c0550b01024b910b8c1468811c0ea663b10b1372Trond NorbyeYou may not use this file except in compliance with the License.
c0550b01024b910b8c1468811c0ea663b10b1372Trond NorbyeSee LICENSE.txt included in this distribution for the specific
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbyelanguage governing permissions and limitations under the License.
c0550b01024b910b8c1468811c0ea663b10b1372Trond NorbyeWhen distributing Covered Code, include this CDDL HEADER in each
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbyefile and include the License file at LICENSE.txt.
c0550b01024b910b8c1468811c0ea663b10b1372Trond NorbyeIf applicable, add the following below this CDDL HEADER, with the
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbyefields enclosed by brackets "[]" replaced with your own identifying
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbyeinformation: Portions Copyright [yyyy] [name of copyright owner]
c0550b01024b910b8c1468811c0ea663b10b1372Trond NorbyeCDDL HEADER END
c0550b01024b910b8c1468811c0ea663b10b1372Trond NorbyeCopyright 2007 Sun Microsystems, Inc. All rights reserved.
c0550b01024b910b8c1468811c0ea663b10b1372Trond NorbyeUse is subject to license terms.
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye--%><%@ page import = "org.opensolaris.opengrok.configuration.RuntimeEnvironment"
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye session="false" errorPage="error.jsp" %><%
c0550b01024b910b8c1468811c0ea663b10b1372Trond NorbyeRuntimeEnvironment environment = RuntimeEnvironment.getInstance();
c0550b01024b910b8c1468811c0ea663b10b1372Trond NorbyeString pageTitle = "OpenGrok Help";
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye%><%@ include file="httpheader.jspf" %>
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye <div id="page">
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye <div id="header"><%@ include file="pageheader.jspf" %> </div>
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye <div id="Masthead"></div>
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye <div id="bar">
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye <table cellpadding="0" cellspacing="0" border="0" width="100%">
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye <tr><td valign="top"><br /> </td><td align="left" valign="middle"><br/>
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye <form action="search" name="sbox">
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye <table cellpadding="2" border="0" cellspacing="0">
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye <tr><td align="right"> Full Search (q) </td><td><input class="q" name="q" size="45" value=""/></td></tr>
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye <tr><td align="right"> Definition (defs) </td><td><input class="q" name="defs" size="25" value=""/></td></tr>
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye <tr><td align="right"> Symbol (refs) </td><td><input class="q" name="refs" size="25" value=""/></td></tr>
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye <tr><td align="right"> File Path (path) </td><td><input class="q" name="path" size="25" value=""/></td></tr>
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye <tr><td align="right"> History (hist) </td><td><input class="q" name="hist" size="25" value=""/></td></tr>
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye <tr><td></td><td> <input class="submit" type="submit" value=" Search "/> | <input class="submit" onClick="document.sbox.q.value='';document.sbox.defs.value='';document.sbox.refs.value='';document.sbox.path.value='';document.sbox.hist.value='';" type="button" value=" Clear "/></td></tr>
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye </td></tr></table>
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye <div id="results"><p>
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye A Query is a series of clauses. A clause may be prefixed by:
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye <li>a plus (+) or a minus (-) sign, indicating that the clause is required or prohibited respectively; or
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye <li>a term followed by a colon, indicating the field to be searched. This enables one to construct queries which search multiple fields.
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye A clause may be either:
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye <li> a term, indicating all the documents that contain this term; or
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye <li> a nested query, enclosed in parentheses (). Note that this may be used with a +/- prefix to require any of a set of terms.
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye valid FIELDs are
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye full: Full text search.
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye defs: Only finds symbol definitions.
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye refs: Only finds symbols.
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye path: path of the source file.
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye hist: History log comments
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye <b>Examples</b>
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye To find where setResourceMonitors is defined
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye <a href="search?q=&defs=setResourceMonitors">defs:setResourceMonitors</a>
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye To find files that use sprintf in usr/src/cmd/cmd-inet/usr.sbin/
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye <a href="search?refs=sprintf&path=usr%2Fsrc%2Fcmd%2Fcmd-inet%2Fusr.sbin%2F">refs:sprintf path:usr/src/cmd/cmd-inet/usr.sbin</a>
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye To find assignments to variable Asign
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye <a href="search?q=%22asign+%3D+%22">"Asign="</a>
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye To find Makefiles where pstack binary is being built
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye <a href="search?q=pstack&path=Makefile">pstack path:Makefile</a>
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye to search for phrase "Bill Joy":
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye <a href="search?q=%22Bill+Joy%22">"Bill Joy"</a>
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye To find perl files that do not use /usr/bin/perl but something else,
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye <a href="search?q=-%22%2Fusr%2Fbin%2Fperl%22+%2B%22%2Fbin%2Fperl%22">-"/usr/bin/perl" +"/bin/perl"</a>
c0550b01024b910b8c1468811c0ea663b10b1372Trond Norbye <%@include file="foot.jspf"%>