Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-2224

Results.jsp in luceneweb example fails to compile

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 3.0
    • None
    • modules/examples
    • None
    • New

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bjsion Ben Sion
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: