Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E6B3A9BCB for ; Sun, 1 Apr 2012 00:34:06 +0000 (UTC) Received: (qmail 798 invoked by uid 500); 1 Apr 2012 00:34:03 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 750 invoked by uid 500); 1 Apr 2012 00:34:03 -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 741 invoked by uid 99); 1 Apr 2012 00:34:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Apr 2012 00:34:03 +0000 X-ASF-Spam-Status: No, hits=4.5 required=5.0 tests=HTML_MESSAGE,SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of alptilev@hotmail.com does not designate 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Apr 2012 00:33:56 +0000 Received: from ben.nabble.com ([192.168.236.152]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1SE8jf-0003y5-I4 for solr-user@lucene.apache.org; Sat, 31 Mar 2012 17:33:35 -0700 Date: Sat, 31 Mar 2012 17:33:35 -0700 (PDT) From: jlark To: solr-user@lucene.apache.org Message-ID: In-Reply-To: <1331806713.1910.11.camel@snape> References: <1331679923376-3823853.post@n3.nabble.com> <1331681444537-3823900.post@n3.nabble.com> <1331689992645-3824126.post@n3.nabble.com> <1331806713.1910.11.camel@snape> Subject: RE: 400 Error adding field 'tags'='[a,b,c]' MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_115647_9426600.1333240415550" ------=_Part_115647_9426600.1333240415550 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit [Solved] Turns out the text field I was copying all these to was not multivalued! make sure that if you're copying multiple fields to a single field that the single field has multivalued=true. phew. Thanks for the Help. Date: Thu, 15 Mar 2012 03:19:15 -0700 From: ml-node+s472066n3828342h74@n3.nabble.com To: alptilev@hotmail.com Subject: Re: 400 Error adding field 'tags'='[a,b,c]' Hi Alp, if you have not changed how SOLR logs in general, you should find the log output in the regular server logfile. For Tomcat you can find this in TOMCAT_HOME/catalina.out (or search for that name). If there is a problem with your schema, SOLR should be complaining about it during application/server start up. It would definitely print something if there is a field declared in your schema but cannot be initialized for some reason. I don't think that the names of the fields themselves are the problem. I never had an issue with the field name 'name'. Cheers, Chantal On Wed, 2012-03-14 at 02:53 +0100, jlark wrote: > Interestingly I'm getting this on other fields now. > > I have the field stored="true" /> > > which is copied to text > > and my text field is simply indexed="true" stored="true" /> > > I'm feedin my test document > > {"url" : "TestDoc2", "title" : "another test", "ptag":["a","b"],"name":"foo > bar"}, > > and when I try to feed I get. > > HTTP request sent, awaiting response... 400 ERROR: [doc=TestDoc2] Error > adding field 'name'='foo bar' > > If I remove the field from the document though it works fine. > I'm wondering if there is a set of reserved names that I'm using at this > point. > > Jus twhish there was a way to get more helpfull error messages. > > Thanks for the help. > Alp > > > > -- > View this message in context: http://lucene.472066.n3.nabble.com/400-Error-adding-field-tags-a-b-c-tp3823853p3824126.html > Sent from the Solr - User mailing list archive at Nabble.com. If you reply to this email, your message will be added to the discussion below: http://lucene.472066.n3.nabble.com/400-Error-adding-field-tags-a-b-c-tp3823853p3828342.html To unsubscribe from 400 Error adding field 'tags'='[a,b,c]', click here. NAML -- View this message in context: http://lucene.472066.n3.nabble.com/400-Error-adding-field-tags-a-b-c-tp3823853p3874445.html Sent from the Solr - User mailing list archive at Nabble.com. ------=_Part_115647_9426600.1333240415550--