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

Remove usage of deprecated method Document.fields()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 2.1
    • core/index
    • None
    • New, Patch Available

    Description

      The classes DocumentWriter, FieldsWriter, and ParallelReader use the deprecated method Document.fields(). This simple patch changes these three classes to use Document.getFields() instead.

      All unit tests pass.

      Attachments

        1. deprecation.patch
          3 kB
          Michael Busch

        Activity

          People

            michaelbusch Michael Busch
            michaelbusch Michael Busch
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: