Return-Path: Delivered-To: apmail-lucene-solr-user-archive@locus.apache.org Received: (qmail 12380 invoked from network); 8 May 2008 20:59:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 May 2008 20:59:51 -0000 Received: (qmail 1556 invoked by uid 500); 8 May 2008 20:59:49 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 1528 invoked by uid 500); 8 May 2008 20:59: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 1514 invoked by uid 99); 8 May 2008 20:59:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 May 2008 13:59:49 -0700 X-ASF-Spam-Status: No, hits=1.8 required=10.0 tests=MIME_QP_LONG_LINE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [212.28.216.247] (HELO sauron.datakultur.com) (212.28.216.247) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 May 2008 20:59:03 +0000 Received: by sauron.datakultur.com (Postfix, from userid 33) id D975B141335C; Thu, 8 May 2008 22:59:15 +0200 (CEST) Received: from c83-250-105-114.bredband.comhem.se (c83-250-105-114.bredband.comhem.se [83.250.105.114]) by webmail.hullegard.com (Horde MIME library) with HTTP; Thu, 08 May 2008 22:59:15 +0200 Message-ID: <20080508225915.lj9tujs5wk4cogsk@webmail.hullegard.com> Date: Thu, 08 May 2008 22:59:15 +0200 From: solr@hullegard.com To: solr-user@lucene.apache.org Subject: Re: ERROR:unknown field, but what document was it? References: <20080501190544.2ggderi8mckck48o@webmail.hullegard.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) X-Virus-Checked: Checked by ClamAV on apache.org Quoting Chris Hostetter : > > : The way I understand it, having multiple documents in a single xml file = and > : posting that to solr is faster then posting a single xml for each docume= nt > : (even with a single commit after all separate xml files). It makes =20 > sence, and > : some simple tests indicates that this is true. However, if one of the > > For the record: people say this every now and then, but I don't think > anyone has ever posted any specific numbers comparing multiple docs in a > single add, vs multiple seperate requests using "Keep-Alive" ... there > shouldn't be any fundemental difference. My tests showed that it was a big difference. It took about 1.2 =20 seconds to index 500 separate adds in separate xml files (with a =20 single commit afterwards), compared to about 200 milliseconds when =20 sending a single xml with 500 adds. And according to the documentation =20 java automatically uses keep-alive (I found no way to force it myself). > : schema.xml. When I tried to make solr index this xml I got the error: > : ERROR:unknown field 'myNonExistantField' > : And that is just great. But what document was it? I need to know =20 > this, because > : the next step is to log an error like "document with id 251" could not b= e > : indexed, error: unknown field 'myNonExistantField'". Then I want =20 > to continue > > i thought we added something like this ... but i guess not. > > feel free to file a feature request in Jira. ah, but I guess it is only awailable in a nightly build? Do you know a =20 jira issue number I can look at? I didn't find anything related to this. Regards /Jimi