SOLR-2081: fix BaseResponseWriter so SingleResponseWriter.end is only called once

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1037965 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Chris M. Hostetter 2010-11-23 01:58:51 +00:00
parent c43b0bfdba
commit 7b3e358266
2 changed files with 4 additions and 1 deletions

View File

@ -554,6 +554,10 @@ Bug Fixes
* SOLR-2221: Use StrUtils.parseBool() to get values of boolean options in DIH.
true/on/yes (for TRUE) and false/off/no (for FALSE) can be used for sub-options
(debug, verbose, synchronous, commit, clean, optimize) for full/delta-import commands. (koji)
* SOLR-2081: BaseResponseWriter.isStreamingDocs causes
SingleResponseWriter.end to be called 2x
(Chris A. Mattmann via hossman)
Other Changes
----------------------

View File

@ -115,7 +115,6 @@ public abstract class BaseResponseWriter {
}
responseWriter.writeDoc(sdoc);
}
responseWriter.end();
} else {
ArrayList<SolrDocument> list = new ArrayList<SolrDocument>(docList
.size());