[ACCEPTED]-org.apache.solr.common.SolrException: missing content stream-solr
Accepted answer
If you add commit parameter i.e. ?commit=true
, it will 1 work
/solr/update
will look for any input documents to be 6 indexed. Running plain /solr/update
will cause this 5 exception since there is no input for it. The 4 easiest way to run it is like,
java -Durl=localhost:8080/<your apache solr context path, mostly solr>/update -jar post.jar *.xml
This can also 3 happen through SolrJ/spring-data-solr if 2 you try to persist an empty collection of 1 documents.
So solrClient.add(new ArrayList<SolrInputDocument>(), 10000);
would also cause the error.
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.