Return-Path: X-Original-To: apmail-lucene-general-archive@www.apache.org Delivered-To: apmail-lucene-general-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7C8BB7618 for ; Thu, 11 Aug 2011 19:19:29 +0000 (UTC) Received: (qmail 51419 invoked by uid 500); 11 Aug 2011 19:19:28 -0000 Delivered-To: apmail-lucene-general-archive@lucene.apache.org Received: (qmail 51370 invoked by uid 500); 11 Aug 2011 19:19:27 -0000 Mailing-List: contact general-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@lucene.apache.org Delivered-To: mailing list general@lucene.apache.org Received: (qmail 51362 invoked by uid 99); 11 Aug 2011 19:19:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Aug 2011 19:19:27 +0000 X-ASF-Spam-Status: No, hits=3.0 required=5.0 tests=FORGED_YAHOO_RCVD,FREEMAIL_FROM,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Aug 2011 19:19:22 +0000 Received: from ben.nabble.com ([192.168.236.152]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1QramS-0007Et-5Y for general@lucene.apache.org; Thu, 11 Aug 2011 12:19:00 -0700 Date: Thu, 11 Aug 2011 12:19:00 -0700 (PDT) From: sair To: general@lucene.apache.org Message-ID: <1313090340163-3247141.post@n3.nabble.com> Subject: Problem creating mahout vectors from solr index MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I have solr version 1.4.1 and mahout version 0.4 I have created index from the xml files given in exampledocs directory. It is working fine. Queries are also working on those indexes. But when I'm trying to create mahout vectors from the solr index it is giving message wrote: 0 vectors Is there any configuration settings I'm missing? This is the output I'm getting: hadoop@dahlia:/home/sai/project/mahout-distribution-0.4$ bin/mahout lucene.vector --dir /home/sai/project/apache-solr-1.4.1/example/solr/data/index/ --output /home/sai/project/output/part-out.vec --field title-clustering --idField id --dictOut /home/sai/project/output/dict.out --norm 2 Running on hadoop, using HADOOP_HOME=/usr/local/hadoop HADOOP_CONF_DIR=/usr/local/hadoop/conf 11/08/11 14:55:15 INFO lucene.Driver: Output File: /home/sai/project/output/part-out.vec 11/08/11 14:55:16 INFO util.NativeCodeLoader: Loaded the native-hadoop library 11/08/11 14:55:16 INFO zlib.ZlibFactory: Successfully loaded & initialized native-zlib library 11/08/11 14:55:16 INFO compress.CodecPool: Got brand-new compressor 11/08/11 14:55:16 INFO lucene.Driver: Wrote: 0 vectors 11/08/11 14:55:16 INFO lucene.Driver: Dictionary Output file: /home/sai/project/output/dict.out 11/08/11 14:55:16 INFO driver.MahoutDriver: Program took 1078 ms sai -- View this message in context: http://lucene.472066.n3.nabble.com/Problem-creating-mahout-vectors-from-solr-index-tp3247141p3247141.html Sent from the Lucene - General mailing list archive at Nabble.com.