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
Is it possible to submit multiple JSON documents through the Solr Admin
Documents page?
The default json is: {"id":"change.me","title":"change.me"}. If I try to add
a second document such as {"id":"change.me2","title":"change.me"}, and
submit them together, I get parsing errors. I have tried:
1.
Is there a way to get Solr/Luke to return the aggregated results across
shards? I tried setting the shards parameter
(http://localhost:8983/solr/admin/luke?shards=localhost:8983/solr,localhost:7574/solr)
but only got the results for localhost:8983. I am able to search across the
shards so my url's
Thanks to anyone who spent time looking at this. In the future, should
anyone else run across this, I got it working by adding the "name" attribute
to the tag. Final script looks like:
http://localhost.:4747/solr/update";
enctype="multipart/form-data" accept-charset="UTF-8" method="POST">
Markus Jelsma-2 wrote:
>
> I don't know if sending the wrong content type results in this error
> message
> but you must send the proper content type header, text/xml.
>
Thanks Markus. I thought uploading a file from an HTML form required
"multipart/form-data".
Anyway, I did try changing
I am just getting started with Solr and have successfully run through the
tutorial. I now have Solr up and running on Glassfish and decided to try a
simple test to verify the ability to update the index, using the following
HTML page:
http://localhost.:4747/solr/update";
enctype="multipart/