Return-Path: Delivered-To: apmail-lucene-solr-user-archive@locus.apache.org Received: (qmail 94476 invoked from network); 8 Jan 2009 22:19:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Jan 2009 22:19:53 -0000 Received: (qmail 26687 invoked by uid 500); 8 Jan 2009 22:19:49 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 26649 invoked by uid 500); 8 Jan 2009 22:19:49 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 26621 invoked by uid 99); 8 Jan 2009 22:19:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jan 2009 14:19:49 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [206.190.39.202] (HELO web50311.mail.re2.yahoo.com) (206.190.39.202) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 08 Jan 2009 22:19:40 +0000 Received: (qmail 65831 invoked by uid 60001); 8 Jan 2009 22:19:18 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=cL4N8GmNpAD1X7xKCCtiWrXebEU9mScdNWv2yKyvhnL8G5qzuBsJd4ko3NZvqp0e4t6MrWiYXIvkKxgGIGI0r2XuZXPRiRro9bAbOdPb4fJGNsALw/5F9kvWUZ+CX7zKBdLu3cJjMPbSPvvd+7zZUZxFxYdgf30kIQl6eJAOsbY=; X-YMail-OSG: NaBfqj8VM1mjqrLXFZ8JzF6pPCpVwwGqUB7PKJ7UrH6J5D5rsliPGRbrcczM_p12SGDfg4DpcDZlfRTw6ZymQe3cygpVVpGi3Knz9YOh33s81o2unnKpLSQ6KxmXTbkXoByZRij6hSKgoLzq28rrEea2iv1lhAgegOhK62ldcdNO26s3GEQdo6zeFIzDHv7Tl3akTMvzs8z3v9wEcp7_YmkrmwIhoAg- Received: from [167.206.188.3] by web50311.mail.re2.yahoo.com via HTTP; Thu, 08 Jan 2009 14:19:18 PST X-Mailer: YahooMailRC/1155.45 YahooMailWebService/0.7.260.1 References: <3a3bc55a0901081400x5a60a682rddb19d439ebe8be0@mail.gmail.com> Date: Thu, 8 Jan 2009 14:19:18 -0800 (PST) From: Otis Gospodnetic Subject: Re: Beginner: importing own data To: solr-user@lucene.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <859809.65438.qm@web50311.mail.re2.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org Phil, The easiest thing to do at this stage in Solr learning experience is to restart Solr (servlet container) and redo the search. Results shouls start showing up then because this will effectively reopen the index. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch ----- Original Message ---- > From: phil cryer > To: solr-user@lucene.apache.org > Sent: Thursday, January 8, 2009 5:00:29 PM > Subject: Beginner: importing own data > > So I have Solr running, I've run through the tutorials online, can > import data from the example xml and see the results, so it works! > Now, I take some xml data I have, convert it over to the add / doc > type that the demo ones are, run it and find out which fields aren't > defined in schema.xml, I add them there until they're all there and I > can finally import my own xml into solr w/o error. But, when I go to > query solr, it's not there. Again, I'm using the same procedure that > I used on the example xml files, and they did the 'commit' at the end, > so I'm doing something wrong. > > Is that all I need to do, define my fields in schema.xml and then > import via post.jar? It seems to work, but no results are ever found > by solr. I'm open to trying any debugging or whatever, I need to > figure this out before I can start learning solr. > > Thanks > > P