mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lance Norskog <goks...@gmail.com>
Subject Re: Reading from Lucene, writing to IntWritable VectorWritable does not work
Date Wed, 01 Jun 2011 01:01:27 GMT
Attachments don't work. Maybe you could use one of those file snippet sites?

On Tue, May 31, 2011 at 8:09 AM, Stefan Wienert <stefan@wienert.cc> wrote:
> Hi Guys,
>
> got a small problem here. Source Code (running) is added to this mail.
>
> So... I take a lucene index and want to save the data as a
> IntWritable-VectorWritable-SequenceFile.
> There seems to be no problem BUT after saving the data, I try to read
> them again:
>
> Class: class org.apache.mahout.math.NamedVector
> 5b270512-9900-3f24-9529-05b5a39c6f88: ? ?
>
> the ? ? are vector.size() and vector.maxValueIndex(). So there seems
> to be a problem when saving the VectorWritable in the sequenceFile.
>
> Any tips?
>
> Cheers
> Stefan
>



-- 
Lance Norskog
goksron@gmail.com

Mime
View raw message