You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To find all main methods in all files analyzed by C analyzer (so .c, .h, ...) do:
90
+
<ahref="search?q=main&type=c">main type:c</a>
91
+
</pre>
92
+
<br/>
93
+
<dfn><b>More info:</b></dfn><br/><br/>
56
94
A <dfn>Query</dfn> is a series of clauses. A clause may be prefixed by:</p>
57
95
<ul>
58
96
<li>a plus "<b>+</b>" or a minus "<b>-</b>" sign, indicating that the clause
@@ -81,7 +119,7 @@ A <dfn>Query</dfn> is a series of clauses. A clause may be prefixed by:</p>
81
119
e.g. /[mb]an/ - will search for man or for ban;<br>
82
120
NOTE: path field search escapes "/" by default, so it only supports
83
121
regexps when the search string <u>starts and ends</u> with "/".<br>
84
-
More info can be found on <ahref="http://lucene.apache.org/core/4_3_0/core/org/apache/lucene/util/automaton/RegExp.html?is-external=true">lucene regexp page</a>.
122
+
More info can be found on <ahref="http://lucene.apache.org/core/4_3_1/core/org/apache/lucene/util/automaton/RegExp.html?is-external=true">lucene regexp page</a>.
85
123
</li>
86
124
<li>to perform a single character wildcard search use the "<b>?</b>" symbol,
87
125
e.g. te?t</li>
@@ -129,59 +167,29 @@ So searching for <b>\+1</b> or <b>\+ 1</b> will both find <b>+1</b> and <b>+ 1</
129
167
<dd>Search through all text tokens(words,strings,identifiers,numbers) in index.</dd>
130
168
131
169
<dt>defs</dt>
132
-
<dd>Only finds symbol definitions.</dd>
170
+
<dd>Only finds symbol definitions(where e.g. a variable(function, ...) is defined).</dd>
<dd>path of the source file(no need to use dividers).</dd>
139
177
140
178
<dt>hist</dt>
141
179
<dd>History log comments.</dd>
180
+
181
+
<dt>type</dt>
182
+
<dd>Type of analyzer used to scope down to certain file types(e.g. just C sources).<br/>Current mappings: <%=SearchHelper.getFileTypeDescirptions().toString()%></dd>
183
+
142
184
</dl>
143
185
144
186
<p>
145
187
the term(phrases) can be boosted (making it more relevant) using a caret
146
188
<b>^</b> , e.g. help^4 opengrok - will make term help boosted
<p>Opengrok search is powered by <ahref="http://lucene.apache.org/"
184
-
>lucene</a>, for more detail on query syntax refer to <ahref="http://lucene.apache.org/core/4_3_0/queryparser/org/apache/lucene/queryparser/classic/package-summary.html#package_description">lucene docs</a>.<br>
192
+
>lucene</a>, for more detail on query syntax refer to <ahref="http://lucene.apache.org/core/4_3_1/queryparser/org/apache/lucene/queryparser/classic/package-summary.html#package_description">lucene docs</a>.<br>
0 commit comments