mirror of https://github.com/apache/lucene.git
SOLR-439 -- SolrInputDocument should preserve Field addition order
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@604951 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
66b05d1da5
commit
e3ce5f2c7d
|
@ -20,6 +20,7 @@ package org.apache.solr.common;
|
|||
import java.io.Serializable;
|
||||
import java.util.HashMap;
|
||||
import java.util.Iterator;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.Map;
|
||||
import java.util.Collection;
|
||||
|
||||
|
@ -38,7 +39,7 @@ public class SolrInputDocument implements Iterable<SolrInputField>, Serializable
|
|||
|
||||
public SolrInputDocument()
|
||||
{
|
||||
_fields = new HashMap<String,SolrInputField>();
|
||||
_fields = new LinkedHashMap<String,SolrInputField>();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue