You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Chris A. Mattmann (JIRA)" <ji...@apache.org> on 2010/08/23 18:06:17 UTC

[jira] Created: (SOLR-2081) BaseResponseWriter isStreamingDocs causes SingleResponseWriter.end to be called 2x

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


[jira] Updated: (SOLR-2081) BaseResponseWriter isStreamingDocs causes SingleResponseWriter.end to be called 2x

Posted by "Chris A. Mattmann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-2081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris A. Mattmann updated SOLR-2081:
------------------------------------

    Attachment: SOLR-2081.Mattmann.082310.patch.txt

Simple patch for BaseResponeWriter that fixes the issue.

> 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
>
>         Attachments: SOLR-2081.Mattmann.082310.patch.txt
>
>
> 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