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

InitiatedIndex: CCE on casting NumericField to Field

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9
    • Fix Version/s: 2.9.1
    • Component/s: modules/other
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: