mirror of https://github.com/apache/lucene.git
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:
parent
1398a0262d
commit
5dbcae4cd3
|
@ -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
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -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());
|
||||
|
||||
|
|
Loading…
Reference in New Issue