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

ClassCastException in ParallelReader class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.9
    • None
    • None
    • None
    • 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();

      Attachments

        1. ParallelReader.java
          11 kB
          frederic

        Activity

          People

            Unassigned Unassigned
            fredericm frederic
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: