On 8/6/2014 1:34 PM, Felipe Dantas de Souza Paiva wrote: > in version 4.0 of SOLRJ a support for streaming response was added: > > https://issues.apache.org/jira/browse/SOLR-2112 > > In my application, the output for the SOLR input stream is a response > stream from a REST web service. > > It works fine, but if the client closes the connection with the REST > server, the SOLR stream continues to work. As a result of that, CPU > remains being used, although nothing is being delivered to the client. > > Is there a way to force the SOLR stream to be closed? > > I think I would have to modify the class > StreamingBinaryResponseParser, by adding a new method that checks if > the SOLR stream should be closed. > > Am I right? I am using the 4.1.0 version of the SOLRJ.
The solr-user list is more appropriate for this question. The 4.1.0 version is getting very old - the release announcement was in January 2013. There have been a LOT of bugs fixed in versions up through the most recent, which is 4.9.0. Upgrading is advised. Upgrading the server is also advised. I do not see a specific issue in CHANGES.txt mentioning anything like what you have indicated here, but we'll need to know if it's still a problem in the latest version before filing a bug. Thanks, Shawn --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
