Getting error on importing JSON file

2015-10-27 Thread Prathmesh Gat
Hi, Using Solr Ver 4.10, when we try to import the attached JSON we get an error saying: { "responseHeader": { "status": 400, "QTime": 1 }, "error": { "msg": "Error parsing JSON field value. Unexpected OBJECT_START", "code": 400 } } And when we try to send the file via curl: curl

Re: Getting error on importing JSON file

2015-10-27 Thread Upayavira
Solr won't index arbitrary json. Please research the format that solr expects. Upayavira On Tue, Oct 27, 2015, at 07:23 AM, Prathmesh Gat wrote: > Hi, > > Using Solr Ver 4.10, when we try to import the attached JSON we get an > error saying: > { "responseHeader": { "status": 400, "QTime": 1 },