lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (SOLR-2081) BaseResponseWriter isStreamingDocs causes SingleResponseWriter.end to be called 2x
Date Tue, 23 Nov 2010 02:18:20 GMT

     [ https://issues.apache.org/jira/browse/SOLR-2081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hoss Man resolved SOLR-2081.
----------------------------

       Resolution: Fixed
    Fix Version/s: 4.0

Committed revision 1037965. ... trunk
Committed revision 1037969. ... 3x

thanks chris.


> 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, 4.0
>
>         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