mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Wienert <ste...@wienert.cc>
Subject Re: Reading from Lucene, writing to IntWritable VectorWritable does not work
Date Sun, 05 Jun 2011 20:18:51 GMT
No worries, fixed the problem by using another reader :)
thanks anyway :)

2011/6/1 Lance Norskog <goksron@gmail.com>:
> 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
>



-- 
Stefan Wienert

http://www.wienert.cc
stefan@wienert.cc

Telefon: +495251-2026838 (neue Nummer seit 20.06.10)
Mobil: +49176-40170270

Mime
View raw message