Skip to content

Apache Lucene open-source search software

close the searcher at the end of the page

Daniel Nabereb5344256f35
diff --git a/src/jsp/results.jsp b/src/jsp/results.jsp
index 3b2d79d0e95..e53e3237f01 100755
--- a/src/jsp/results.jsp
+++ b/src/jsp/results.jsp
@@ -150,5 +150,7 @@ public String escapeHTML(String s) {
</table>
<% } //then include our footer.
+ if (searcher != null)
+ searcher.close();
%>
<%@include file="footer.jsp"%>