Re: status 400 on posting json

2013-03-25 Thread Jack Krupansky
sage- From: Patrice Seyed Sent: Monday, March 25, 2013 7:19 PM To: solr-user@lucene.apache.org Subject: Re: status 400 on posting json Hi Jack, I tried putting the schema.xml file (further below) in the path you specified below, but when i tried to start (java -jar start.jar) got the message bel

Re: status 400 on posting json

2013-03-25 Thread Patrice Seyed
ssage- From: Patrice Seyed Sent: Saturday, March 16, 2013 2:48 AM To: solr-user@lucene.apache.org Subject: Re: status 400 on posting json Hi, Re: - Is there some place I should indicate what parameters are including in the json objects send? I was able to test books.json

Re: status 400 on posting json

2013-03-16 Thread Jack Krupansky
rice Seyed Sent: Saturday, March 16, 2013 2:48 AM To: solr-user@lucene.apache.org Subject: Re: status 400 on posting json Hi, Re: - Is there some place I should indicate what parameters are including in the json objects send? I was able to test books.json without the error.

Re: status 400 on posting json

2013-03-15 Thread Patrice Seyed
Hi, Re: - > Is there some place I should indicate what parameters are including in > the json objects send? I was able to test books.json without the > error. "Yes, in Solr's schema.xml (under the conf/ directory). See for more details.

Re: status 400 on posting json

2013-03-15 Thread Jack Krupansky
I tried it and I get the same error response! Which is because... I don't have a field named "datasource". You need to check the Solr schema.xml for the available fields and then add any fields that your JSON uses that are not already there. Be sure to shutdown and restart Solr after editing t

Re: status 400 on posting json

2013-03-15 Thread Erik Hatcher
> Is there some place I should indicate what parameters are including in > the json objects send? I was able to test books.json without the > error. Yes, in Solr's schema.xml (under the conf/ directory). See for more details. Erik On Mar 15, 201