Issue Details (XML | Word | Printable)

Key: LUCENE-630
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Unassigned
Reporter: Philip Reimer
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Lucene - Java

results.jsp in luceneweb.war uses unknown parse-Method

Created: 19/Jul/06 03:55 PM   Updated: 19/Jul/06 06:28 PM
Return to search
Component/s: Examples
Affects Version/s: 2.0.0
Fix Version/s: 2.1

Time Tracking:
Not Specified

Environment:
Windows XP Pro and Linux (Ubuntu 6.06 TLS)
Tomcat 5.5
Sun Java 1.5_07

Resolution Date: 19/Jul/06 06:28 PM


 Description  « Hide
results.jsp in luceneweb.war demo throws JasperException:

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 60 in the jsp file: /results.jsp
Generated servlet error:
The method parse(String) in the type QueryParser is not applicable for the arguments (String, String, Analyzer)

I think, the code in line 81 of results.jsp should maybe look like the following ?

QueryParser qp = new QueryParser("contents", analyzer);
query = qp.parse(queryString);



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Daniel Naber made changes - 19/Jul/06 06:28 PM
Field Original Value New Value
Fix Version/s 2.0.1 [ 12311932 ]
Status Open [ 1 ] Closed [ 6 ]
Resolution Fixed [ 1 ]