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

ClassCastException in ParallelReader class

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Windoxs xp sp2
      Java 1.5.0_06

      Description

      ClassCastException in ParalleReader when calling getTermFreqVectors on line 153

      Reason :

      cast of key and value is swapped

      Fixed with :

      IndexReader reader = (IndexReader)e.getValue();
      String field = (String)e.getKey();

        Activity

        Hide
        fredericm frederic added a comment -

        patch

        Show
        fredericm frederic added a comment - patch
        Hide
        yseeley@gmail.com Yonik Seeley added a comment -

        Committed.
        Thanks Frederic!

        Show
        yseeley@gmail.com Yonik Seeley added a comment - Committed. Thanks Frederic!

          People

          • Assignee:
            Unassigned
            Reporter:
            fredericm frederic
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development