lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris A. Mattmann (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SOLR-2081) BaseResponseWriter isStreamingDocs causes SingleResponseWriter.end to be called 2x
Date Mon, 23 Aug 2010 16:14:18 GMT

     [ 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


Mime
View raw message