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

Lucene 3.0 - Deprecated QueryParser Constructor in Demo Code [new QueryParser( "contents", analyzer)]

    XMLWordPrintableJSON

Details

    • New

    Description

      Found this issue when following the getting started tutorial with Lucene 3.0. It appears the QueryParser constructor was deprecated

      The new code in results.jsp should be changed from:

      new QueryParser("contents", analyzer)

      to:

      new QueryParser(Version.LUCENE_CURRENT, "contents", analyzer)

      http://www.locklevels.com

      Attachments

        Activity

          People

            Unassigned Unassigned
            locklevels Lock Levels
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified