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

InitiatedIndex: CCE on casting NumericField to Field

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.9
    • 2.9.1
    • modules/other
    • None
    • New, Patch Available

    Description

      An unchecked cast to List<Field> throws a ClassCastException when applied to, for example, a NumericField.
      Appearently, this has been fixed trunk, but for a 2.9.1 release, this could be helpful.
      The patch can be applied against the 2.9.0 tag.

      Attachments

        1. instantiated_writer_fieldable.patch
          3 kB
          Bernd Fondermann

        Activity

          People

            uschindler Uwe Schindler
            brainlounge Bernd Fondermann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: