: 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
Y_START at [16]",
I can submit multiple documents using post.jar, but was curious if there is
some trick that I am missing to get it working on the Solr Admin Documents
page (http://localhost:8983/solr/#/collection1/documents). I am using the
Solr 4.4 example server.
--
View this messag
nt: Wednesday, October 02, 2013 11:46 AM
To: solr-user@lucene.apache.org
Subject: Submitting Multiple JSON documents from Solr Admin Documents
Is it possible to submit multiple JSON documents through the Solr Admin
Documents page?
The default json is: {"id":"change.me","ti
{ \"doc\":{{'
> > AFTER='\"id\":\"change.me (http://change.me)\",\"title\":\"change.me
> > (http://change.me)\"}{\"'",
> >
> > "msg": "Expected string: char={,position=54 BEFORE='{\"add\":{
> > \"doc\":{\"id\":\"change.me (http://change.me)\",\"title\":\"change.me
> > (http://change.me)\"},{'
> > AFTER='\"id\":\"change.me2\",\"title\":\"change.me (http://change.me)\"},'",
> >
> > "msg": "Expected string: char={,position=16 BEFORE='{\"add\":{ \"doc\":{{'
> > AFTER='\"id\":\"change.me (http://change.me)\",\"title\":\"change.me
> > (http://change.me)\"},{'",
> >
> >
> >
> >
> > --
> > View this message in context:
> > http://lucene.472066.n3.nabble.com/Submitting-Multiple-JSON-documents-from-Solr-Admin-Documents-tp4093155.html
> > Sent from the Solr - User mailing list archive at Nabble.com
> > (http://Nabble.com).
> >
> >
> >
>
>
the first json document.
>
> "msg": "Expected string: char={,position=16 BEFORE='{\"add\":{ \"doc\":{{'
> AFTER='\"id\":\"change.me (http://change.me)\",\"title\":\"change.me
> (http://change.me)
nt.
"msg": "Expected string: char={,position=16 BEFORE='{\"add\":{ \"doc\":{{'
AFTER='\"id\":\"change.me\",\"title\":\"change.me\"}{\"'",
"msg": "Expected string: char={,position=54 BEFORE='{\"add\":{
\"doc\":{\"id\":\"change.me\",\"title\":\"change.me\"},{'
AFTER='\"id\":\"change.me2\",\"title\":\"change.me\"},'",
"msg": "Expected string: char={,position=16 BEFORE='{\"add\":{ \"doc\":{{'
AFTER='\"id\":\"change.me\",\"title\":\"change.me\"},{'",
--
View this message in context:
http://lucene.472066.n3.nabble.com/Submitting-Multiple-JSON-documents-from-Solr-Admin-Documents-tp4093155.html
Sent from the Solr - User mailing list archive at Nabble.com.