Space: Apache Mahout (https://cwiki.apache.org/confluence/display/MAHOUT) Page: Creating Vectors from Text (https://cwiki.apache.org/confluence/display/MAHOUT/Creating+Vectors+from+Text) Comment: https://cwiki.apache.org/confluence/display/MAHOUT/Creating+Vectors+from+Text?focusedCommentId=27820315#comment-27820315
Comment added by bin lin: --------------------------------------------------------------------- Hey, friends, I got a big problem these days. I want to create vectors from Lucene Index, but I always get the result "lucene.Driver: Writer: 0 vectors". I operate follow : $MAHOUT_HOME/bin/mahout lucene.vector --dir <Path> --field contents --dictOut <PATH>/dict.txt --output <PATH>/out.txt --max 50 --norm 2 I use the reuter's data. Help me ,please ! 11/06/29 11:22:21 INFO lucene.Driver: Output File: /home/ht/PBI/Mahout/clustering/luceneOutput/out.txt 11/06/29 11:22:23 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable 11/06/29 11:22:23 INFO compress.CodecPool: Got brand-new compressor 11/06/29 11:22:38 INFO lucene.Driver: Wrote: 0 vectors 11/06/29 11:22:38 INFO lucene.Driver: Dictionary Output file: /home/ht/PBI/Mahout/clustering/luceneOutput/dict.txt Change your notification preferences: https://cwiki.apache.org/confluence/users/viewnotifications.action
