@@ -71,14 +71,11 @@ include file="projects.jspf"
71
71
{
72
72
PageConfig cfg = PageConfig . get(request);
73
73
74
- long starttime = System . currentTimeMillis();
75
-
76
74
SearchHelper searchHelper = cfg. prepareSearch();
77
75
// N.b. searchHelper.destroy() is called via
78
76
// WebappListener.requestDestroyed() on presence of the following
79
77
// REQUEST_ATTR.
80
78
request. setAttribute(SearchHelper . REQUEST_ATTR , searchHelper);
81
- request. setAttribute(" search.jsp-query-start-time" , starttime);
82
79
searchHelper. prepareExec(cfg. getRequestedProjects()). executeQuery(). prepareSummary();
83
80
// notify suggester that query was searched
84
81
SuggesterServiceFactory . getDefault(). onSearch(cfg. getRequestedProjects(), searchHelper. query);
@@ -150,7 +147,6 @@ include file="menu.jspf"
150
147
{
151
148
PageConfig cfg = PageConfig . get(request);
152
149
SearchHelper searchHelper = (SearchHelper ) request. getAttribute(SearchHelper . REQUEST_ATTR );
153
- Long starttime = (Long ) request. getAttribute(" search.jsp-query-start-time" );
154
150
// TODO spellchecking cycle below is not that great and we only create
155
151
// suggest links for every token in query, not for a query as whole
156
152
if (searchHelper. errorMsg != null ) {
@@ -207,8 +203,6 @@ include file="menu.jspf"
207
203
<li >Try more general keywords.</li >
208
204
<li >Use 'wil*' cards if you are looking for partial match.</li >
209
205
</ul >
210
- <p ><b >Completed in <%= System . currentTimeMillis() - starttime
211
- % > milliseconds</b ></p >
212
206
<%
213
207
} else {
214
208
int start = searchHelper. start;
@@ -232,8 +226,7 @@ include file="menu.jspf"
232
226
Results . prettyPrint(out, searchHelper, start, start + thispage);
233
227
% >
234
228
</table >
235
- <p ><b >Completed in <%= System . currentTimeMillis() - starttime
236
- % > milliseconds</b ></p ><%
229
+ <%
237
230
if (slider. length() > 0 ) {
238
231
% >
239
232
<p class =" slider" ><%= slider % > </p ><%
0 commit comments