[ 
https://issues.apache.org/jira/browse/LUCENE-2132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829973#action_12829973
 ] 

space fly commented on LUCENE-2132:
-----------------------------------

I got the same problem,and I find the way to solve that:
in file "results.jsp" replace line 98 with the following line:

                        QueryParser qp = new 
QueryParser(Version.LUCENE_CURRENT,"contents", analyzer);

then it should be ok,

------

in eclipse ide,there is another error tip,
the way to resolve that is :
in file "footer.jsp" replace line 19 with the follow line:

                  Apache Lucene Template WebApp 1.0


> the demo application does not work as of 3.0
> --------------------------------------------
>
>                 Key: LUCENE-2132
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2132
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 3.0
>            Reporter: Robert Muir
>            Assignee: Robert Muir
>             Fix For: 3.0.1, 3.1
>
>         Attachments: LUCENE-2132.patch
>
>
> the demo application does not work. QueryParser needs a Version argument.
> While I am here, remove @author too

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to