I get a different error (but related to the same issue I guess) with the following simple query:
/opt/code/heliosearch/solr$ curl -XPOST "http://localhost:8983/solr/select?q=*:*" <?xml version="1.0" encoding="UTF-8"?> <response> <lst name="error"><str name="msg">Must specify a Content-Type header with POST requests</str><int name="code">415</int></lst> </response> HTTP does not require a POST body, so it seems like the checking was a bit too strict (i.e. if there is no post body, there should be no requirement for a content-type). -Yonik http://heliosearch.org - solve Solr GC pauses with off-heap filters and fieldcache On Mon, Mar 10, 2014 at 5:08 PM, Shawn Heisey <s...@elyograg.org> wrote: > On 3/10/2014 6:14 AM, leevduhl wrote: >> We just upgraded our dev environment from Solr 4.6 to 4.7 and our search >> "posts" are now returning a "Search requests cannot accept content streams" >> error. We did not install over top of our 4.6 install, we installed into a >> new folder. >> >> org.apache.solr.common.SolrException: Search requests cannot accept content >> streams > > This message was added by SOLR-5517. This is specifically thrown when > Solr detects that the request includes one or more content streams, > which is only supported for updates, not queries. > > https://issues.apache.org/jira/browse/SOLR-5517 > > You may need to include a Content-Type header in your HTTP request. If > you are already doing this, then it may be invalid, or there may be some > other problem with your request. To figure out what it is, we'll need > more information about how your requests are constructed. > > Thanks, > Shawn >