diff --git a/CHANGES.txt b/CHANGES.txt index 15621a8f74e..a03b57d9028 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -10,7 +10,9 @@ New features Bug fixes - 1. + 1. Fixed the web application demo (built with "ant war-demo") which + didn't work because it used a QueryParser method that had + been removed (Daniel Naber) Release 2.0.0 2005-05-26 diff --git a/src/jsp/results.jsp b/src/jsp/results.jsp index 13a89e09693..208d2d7df99 100755 --- a/src/jsp/results.jsp +++ b/src/jsp/results.jsp @@ -78,7 +78,8 @@ public String escapeHTML(String s) { Analyzer analyzer = new StopAnalyzer(); //construct our usual analyzer try { - query = QueryParser.parse(queryString, "contents", analyzer); //parse the + QueryParser qp = new QueryParser("contents", analyzer); + query = qp.parse(queryString); //parse the } catch (ParseException e) { //query and construct the Query //object //if it's just "operator error"