lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlark <>
Subject RE: 400 Error adding field 'tags'='[a,b,c]'
Date Sun, 01 Apr 2012 00:33:35 GMT


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

Thanks for the Help.
Date: Thu, 15 Mar 2012 03:19:15 -0700
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'.



On Wed, 2012-03-14 at 02:53 +0100, jlark wrote:

> Interestingly I'm getting this on other fields now.


> I have the field    <field name="name" type="text_general" indexed="true"

> stored="true"  />


> which is copied to text  <copyField source="name" dest="text"/>


> and my text field is simply    <field name="text" type="text_general"

> 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:
> Sent from the Solr - User mailing list archive at



		If you reply to this email, your message will be added to the discussion below:
		To unsubscribe from 400 Error adding field 'tags'='[a,b,c]', click here.


View this message in context:
Sent from the Solr - User mailing list archive at
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message