Skip to content

Commit 99b4056

Browse files
Lubos KoscoLubos Kosco
authored andcommitted
add spaces to help text before (
1 parent 9a4361e commit 99b4056

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

web/help.jsp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ To find perl files that do not use /usr/bin/perl but something else:
8080
To find all strings begining with foo use the wildcard:
8181
<a href="search?q=foo*">foo*</a>
8282

83-
To find all files which have . c in their name(dot is a token!):
83+
To find all files which have . c in their name (dot is a token!):
8484
<a href="search?path=%22. c%22">". c"</a>
8585

8686
To find all files which start with "ma" and then have only alphabet characters do:
@@ -127,7 +127,7 @@ A <dfn>Query</dfn> is a series of clauses. A clause may be prefixed by:</p>
127127
symbol, e.g. test* or te*t</li>
128128
<li>you can use a * or ? symbol as the first character of a search
129129
(unless not enabled using indexer option -a).</li>
130-
<li>to do a fuzzy search(find words similar in spelling, based on the
130+
<li>to do a fuzzy search (find words similar in spelling, based on the
131131
Levenshtein Distance, or Edit Distance algorithm) use the tilde,
132132
"<b>~</b>", e.g. rcs~ </li>
133133
<li>to do a proximity search use the tilde, "~", symbol at the end of a
@@ -151,8 +151,8 @@ for <b>(1+1):2</b> use the query: <b>\(1\+1\)\:2</b>
151151
</p>
152152
<p>NOTE on analyzers: Indexed words are made up of Alpha-Numeric and Underscore
153153
characters. One letter words are usually not indexed as symbols!<br/>
154-
Most other characters(including single and double quotes) are treated as
155-
"spaces/whitespace"(so even if you escape them, they will not be found, since
154+
Most other characters (including single and double quotes) are treated as
155+
"spaces/whitespace" (so even if you escape them, they will not be found, since
156156
most analyzers ignore them). <br/>
157157
The exceptions are: <b>@ $ % ^ &amp; = ? . :</b> which are mostly indexed as
158158
separate words.<br/>
@@ -164,27 +164,27 @@ So searching for <b>\+1</b> or <b>\+ 1</b> will both find <b>+1</b> and <b>+ 1</
164164
<p>valid <dfn>FIELDs</dfn> are</p>
165165
<dl class="fields">
166166
<dt>full</dt>
167-
<dd>Search through all text tokens(words,strings,identifiers,numbers) in index.</dd>
167+
<dd>Search through all text tokens (words,strings,identifiers,numbers) in index.</dd>
168168

169169
<dt>defs</dt>
170-
<dd>Only finds symbol definitions(where e.g. a variable(function, ...) is defined).</dd>
170+
<dd>Only finds symbol definitions (where e.g. a variable (function, ...) is defined).</dd>
171171

172172
<dt>refs</dt>
173-
<dd>Only finds symbols(e.g. methods, classes, functions, variables).</dd>
173+
<dd>Only finds symbols (e.g. methods, classes, functions, variables).</dd>
174174

175175
<dt>path</dt>
176-
<dd>path of the source file(no need to use dividers).</dd>
176+
<dd>path of the source file (no need to use dividers).</dd>
177177

178178
<dt>hist</dt>
179179
<dd>History log comments.</dd>
180180

181181
<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>
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>
183183

184184
</dl>
185185

186186
<p>
187-
the term(phrases) can be boosted (making it more relevant) using a caret
187+
the term (phrases) can be boosted (making it more relevant) using a caret
188188
<b>^</b> , e.g. help^4 opengrok - will make term help boosted
189189
</p>
190190

web/menu.jspf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ org.opensolaris.opengrok.web.Util"
7878
<div id="qtbl">
7979
<table>
8080
<tr>
81-
<td><label for="s1" title="The text token(s) or other fields to be found(lucene query, this is not full text!)">Full&nbsp;Search</label></td>
81+
<td><label for="s1" title="The text token(s) or other fields to be found (lucene query, this is not full text!)">Full&nbsp;Search</label></td>
8282
<td><input tabindex="1" class="q" name="q" id="q" value="<%=
8383
Util.formQuoteEscape(queryParams.getFreetext()) %>"/></td>
8484
</tr>

0 commit comments

Comments
 (0)