BaseResponseWriter isStreamingDocs causes SingleResponseWriter.end to be called 2x
----------------------------------------------------------------------------------
Key: SOLR-2081
URL: https://issues.apache.org/jira/browse/SOLR-2081
Project: Solr
Issue Type: Bug
Components: Response Writers
Reporter: Chris A. Mattmann
Fix For: 3.1
I noticed while working on the slew of Geo issues that there was another bug in BaseResponseWriter.java.
Basically if you have isStreamingDocs set to true (causing writeDoc to be called), you get
2 calls of SIngleResponseWriter.end(), which is bad (I was getting two </channel></rss>
endings in the GeoRssResponseWriter). This patch fixes the issue.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
|