SOLR-4342: Fix DataImportHandler stats to be a prper Map

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1439536 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Chris M. Hostetter 2013-01-28 18:03:26 +00:00
parent 1398a0262d
commit 5dbcae4cd3
2 changed files with 4 additions and 1 deletions

View File

@ -93,6 +93,8 @@ Bug Fixes
* SOLR-3926: Solr should support better way of finding active sorts (Eirik Lygre via
Erick Erickson)
* SOLR-4342: Fix DataImportHandler stats to be a prper Map (hossman)
Optimizations
----------------------

View File

@ -25,6 +25,7 @@ import org.apache.solr.common.params.SolrParams;
import org.apache.solr.common.params.UpdateParams;
import org.apache.solr.common.util.ContentStreamBase;
import org.apache.solr.common.util.NamedList;
import org.apache.solr.common.util.SimpleOrderedMap;
import org.apache.solr.common.util.ContentStream;
import org.apache.solr.common.util.StrUtils;
import org.apache.solr.util.SystemIdResolver;
@ -247,7 +248,7 @@ public class DataImportHandler extends RequestHandlerBase implements
return super.getStatistics();
DocBuilder.Statistics cumulative = importer.cumulativeStatistics;
NamedList result = new NamedList();
SimpleOrderedMap result = new SimpleOrderedMap();
result.add("Status", importer.getStatus().toString());