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

Submitting Multiple JSON documents from Solr Admin Documents

2013-10-02 Thread Dennis Brundage
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.

Luke using shards

2012-03-28 Thread Dennis Brundage
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

Re: Missing content stream

2010-10-08 Thread Dennis Brundage
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">

Re: Missing content stream

2010-10-08 Thread Dennis Brundage
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

Missing content stream

2010-10-08 Thread Dennis Brundage
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/