lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip Reimer (JIRA)" <j...@apache.org>
Subject [jira] Created: (LUCENE-630) results.jsp in luceneweb.war uses unknown parse-Method
Date Wed, 19 Jul 2006 15:57:13 GMT
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


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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message