lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] Closed: (LUCENE-512) ClassCastException in ParallelReader class
Date Thu, 06 Apr 2006 17:28:25 GMT
     [ 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message