List Info

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




Created: (LUCENE-630) results.jsp in luceneweb.war uses unknown parse-Method
user name
2006-07-19 15:57:13
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.atl
assian.com/software/jira

        

------------------------------------------------------------
---------
To unsubscribe, e-mail: java-dev-unsubscribelucene.apache.org
For additional commands, e-mail: java-dev-helplucene.apache.org

Commented: (LUCENE-630) results.jsp in luceneweb.war uses unknown parse-Method
user name
2006-07-19 16:24:14
    [ http://issues.apache.org/jira/brows
e/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.atl
assian.com/software/jira

        

------------------------------------------------------------
---------
To unsubscribe, e-mail: java-dev-unsubscribelucene.apache.org
For additional commands, e-mail: java-dev-helplucene.apache.org

Closed: (LUCENE-630) results.jsp in luceneweb.war uses unknown parse-Method
user name
2006-07-19 18:29:14
     [ 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.atl
assian.com/software/jira

        

------------------------------------------------------------
---------
To unsubscribe, e-mail: java-dev-unsubscribelucene.apache.org
For additional commands, e-mail: java-dev-helplucene.apache.org

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )