You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ben Sion (JIRA)" <ji...@apache.org> on 2010/01/18 08:36:05 UTC

[jira] Created: (LUCENE-2224) Results.jsp in luceneweb example fails to compile

Results.jsp in luceneweb example fails to compile
-------------------------------------------------

                 Key: LUCENE-2224
                 URL: https://issues.apache.org/jira/browse/LUCENE-2224
             Project: Lucene - Java
          Issue Type: Bug
          Components: Examples
    Affects Versions: 3.0
            Reporter: Ben Sion


The results.jsp in the luceneweb demo does not compile. The reason for this that there is no constructor matching "new QueryParser(String, Analyzer)" on line 98. Changing the lien to read:
                        QueryParser qp = new QueryParser(Version.LUCENE_CURRENT, "contents", analyzer);

fixes the problem for me. But this would save some trouble for would be users if was fixed.

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


[jira] Commented: (LUCENE-2224) Results.jsp in luceneweb example fails to compile

Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-2224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12801897#action_12801897 ] 

Robert Muir commented on LUCENE-2224:
-------------------------------------

hello Ben, thanks for reporting this. This was fixed in LUCENE-2132... but no bugfix release has yet taken place!

I will resolve as a duplicate of LUCENE-2132, ok?

> Results.jsp in luceneweb example fails to compile
> -------------------------------------------------
>
>                 Key: LUCENE-2224
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2224
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Examples
>    Affects Versions: 3.0
>            Reporter: Ben Sion
>
> The results.jsp in the luceneweb demo does not compile. The reason for this that there is no constructor matching "new QueryParser(String, Analyzer)" on line 98. Changing the lien to read:
>                         QueryParser qp = new QueryParser(Version.LUCENE_CURRENT, "contents", analyzer);
> fixes the problem for me. But this would save some trouble for would be users if was fixed.

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


[jira] Commented: (LUCENE-2224) Results.jsp in luceneweb example fails to compile

Posted by "Ben Sion (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-2224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12802046#action_12802046 ] 

Ben Sion commented on LUCENE-2224:
----------------------------------

Hi Robert,

Sure no problem. I should have search more thoroughly thru the bug list before creating the bug.

Keep up the good work.

> Results.jsp in luceneweb example fails to compile
> -------------------------------------------------
>
>                 Key: LUCENE-2224
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2224
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Examples
>    Affects Versions: 3.0
>            Reporter: Ben Sion
>
> The results.jsp in the luceneweb demo does not compile. The reason for this that there is no constructor matching "new QueryParser(String, Analyzer)" on line 98. Changing the lien to read:
>                         QueryParser qp = new QueryParser(Version.LUCENE_CURRENT, "contents", analyzer);
> fixes the problem for me. But this would save some trouble for would be users if was fixed.

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


[jira] Resolved: (LUCENE-2224) Results.jsp in luceneweb example fails to compile

Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-2224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir resolved LUCENE-2224.
---------------------------------

    Resolution: Duplicate

> Results.jsp in luceneweb example fails to compile
> -------------------------------------------------
>
>                 Key: LUCENE-2224
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2224
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Examples
>    Affects Versions: 3.0
>            Reporter: Ben Sion
>
> The results.jsp in the luceneweb demo does not compile. The reason for this that there is no constructor matching "new QueryParser(String, Analyzer)" on line 98. Changing the lien to read:
>                         QueryParser qp = new QueryParser(Version.LUCENE_CURRENT, "contents", analyzer);
> fixes the problem for me. But this would save some trouble for would be users if was fixed.

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