[ http://issues.apache.org/jira/browse/LUCENE-630?page=all ]
Daniel Naber closed LUCENE-630.
-------------------------------
Fix Version/s: 2.0.1
Resolution: Fixed
This has been fixed some time ago (after the 2.0 release).
> results.jsp in luceneweb.war uses unknown parse-Method
> ------------------------------------------------------
>
> Key: LUCENE-630
> URL: http://issues.apache.org/jira/browse/LUCENE-630
> Project: Lucene - Java
> Issue Type: Bug
> Components: Examples
> Affects Versions: 2.0.0
> Environment: Windows XP Pro and Linux (Ubuntu 6.06 TLS)
> Tomcat 5.5
> Sun Java 1.5_07
> Reporter: Philip Reimer
> Priority: Trivial
> Fix For: 2.0.1
>
>
> 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);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]