mirror of https://github.com/apache/lucene.git
SOLR-2877: Adding explicit map constructor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1201900 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
04a9b55618
commit
ea4f87fd25
|
@ -41,6 +41,10 @@ public class SolrInputDocument implements Map<String,SolrInputField>, Iterable<S
|
|||
_fields = new LinkedHashMap<String,SolrInputField>();
|
||||
}
|
||||
|
||||
public SolrInputDocument(Map<String,SolrInputField> fields) {
|
||||
_fields = fields;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove all fields and boosts from the document
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue