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    <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: 
> 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.

Reply via email to