You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Philip Reimer (JIRA)" <ji...@apache.org> on 2006/07/19 17:57:13 UTC

[jira] Created: (LUCENE-630) results.jsp in luceneweb.war uses unknown parse-Method

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


[jira] Commented: (LUCENE-630) results.jsp in luceneweb.war uses unknown parse-Method

Posted by "Philip Reimer (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/LUCENE-630?page=comments#action_12422182 ] 
            
Philip Reimer commented on LUCENE-630:
--------------------------------------

This refers to the results.jsp coming with the war in the binary distribution (lucene-2.0.0.zip and lucene-2.0.0.tar.gz)

> 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


[jira] Closed: (LUCENE-630) results.jsp in luceneweb.war uses unknown parse-Method

Posted by "Daniel Naber (JIRA)" <ji...@apache.org>.
     [ 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org