[ http://issues.apache.org/jira/browse/LUCENE-512?page=all ]
     
Yonik Seeley closed LUCENE-512:
-------------------------------

    Resolution: Fixed

Committed.
Thanks Frederic!

> ClassCastException in ParallelReader class
> ------------------------------------------
>
>          Key: LUCENE-512
>          URL: http://issues.apache.org/jira/browse/LUCENE-512
>      Project: Lucene - Java
>         Type: Bug

>     Versions: 1.9
>  Environment: Windoxs xp sp2
> Java 1.5.0_06
>     Reporter: frederic
>  Attachments: ParallelReader.java
>
> 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();

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to