Apache Lucene open-source search software
open the searcher so that the searcher's close() call will close the implicitly opened reader
Daniel Naberf9f3f74b68f3
diff --git a/src/jsp/results.jsp b/src/jsp/results.jspindex b5510cd228c..13a89e09693 100755--- a/src/jsp/results.jsp+++ b/src/jsp/results.jsp@@ -42,8 +42,7 @@ public String escapeHTML(String s) {//lesstry {- searcher = new IndexSearcher(- IndexReader.open(indexName)); //create an indexSearcher for our page+ searcher = new IndexSearcher(indexName); //create an indexSearcher for our page//NOTE: this operation is slow for large//indices (much slower than the search itself)//so you might want to keep an IndexSearcher