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 5D3268C8A for ; Fri, 12 Aug 2011 18:42:14 +0000 (UTC) Received: (qmail 85951 invoked by uid 500); 12 Aug 2011 18:42:13 -0000 Delivered-To: apmail-lucene-general-archive@lucene.apache.org Received: (qmail 85878 invoked by uid 500); 12 Aug 2011 18:42:13 -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 85870 invoked by uid 99); 12 Aug 2011 18:42:12 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Aug 2011 18:42:12 +0000 Received: from localhost (HELO [10.0.0.77]) (127.0.0.1) (smtp-auth username gsingers, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Aug 2011 18:42:12 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: Problem creating mahout vectors from solr index From: Grant Ingersoll In-Reply-To: <1313090340163-3247141.post@n3.nabble.com> Date: Fri, 12 Aug 2011 14:42:10 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <2BA384B3-99CF-4832-840C-7C3582333D65@apache.org> References: <1313090340163-3247141.post@n3.nabble.com> To: general@lucene.apache.org X-Mailer: Apple Mail (2.1084) This question is probably better suited for user@mahout.apache.org, but = in the meantime, are term vectors turned on for the title-clustering = field? On Aug 11, 2011, at 3:19 PM, sair wrote: > I have solr version 1.4.1 and mahout version 0.4=20 > 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? >=20 > 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=3D/usr/local/hadoop > HADOOP_CONF_DIR=3D/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 >=20 >=20 > sai =20 >=20 >=20 > -- > View this message in context: = http://lucene.472066.n3.nabble.com/Problem-creating-mahout-vectors-from-so= lr-index-tp3247141p3247141.html > Sent from the Lucene - General mailing list archive at Nabble.com. -------------------------- Grant Ingersoll