Re: Submitting Multiple JSON documents from Solr Admin Documents

2013-10-02 Thread Chris Hostetter
: After putting brackets around the doucments: : : [{"id":"change.me","title":"change.me"},{"id":"change2.me","title":"change.me2"}] : : I get the following error: There are two ways of submitting JSON using the /documents screen... 1) select "JSON" from the pulldown... this accepts only

Re: Submitting Multiple JSON documents from Solr Admin Documents

2013-10-02 Thread Dennis Brundage
After putting brackets around the doucments: [{"id":"change.me","title":"change.me"},{"id":"change2.me","title":"change.me2"}] I get the following error: "msg": "Expected: OBJECT_START but got ARRAY_START at [16]", I can submit multiple documents using post.jar, but was curious if there is s

Re: Submitting Multiple JSON documents from Solr Admin Documents

2013-10-02 Thread Jack Krupansky
Use square brackets (array) around a list of documents: [{"id":"change.me","title":"change.me"},{"id":"change2.me","title":"change.me2"}] -- Jack Krupansky -Original Message- From: Dennis Brundage Sent: Wednesday, October 02, 2013 11:46 AM To: solr-user@lucene.apache.org Subject: Subm

Re: Submitting Multiple JSON documents from Solr Admin Documents

2013-10-02 Thread Stefan Matheis
Hm, actually this post made me think, perhaps it would be a good idea to integrate some kind of client-side validation? So we could report back at least those "basic" JSON-format errors? -Stefan On Wednesday, October 2, 2013 at 6:15 PM, Stefan Matheis wrote: > Dennis > > Have a look at the

Re: Submitting Multiple JSON documents from Solr Admin Documents

2013-10-02 Thread Stefan Matheis
Dennis Have a look at the wiki .. last code-block in the section: http://wiki.apache.org/solr/UpdateJSON#Example -Stefan On Wednesday, October 2, 2013 at 5:46 PM, Dennis Brundage wrote: > Is it possible to submit multiple JSON documents through the Solr Admin > Documents page? > > The defau