-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 4.0
-
Fix Version/s: 4.1
-
Component/s: clients - java, update
-
Labels:None
I would like to "set" multiple values into a field using partial updates like so:
List<String> values = new ArrayList<String>(); values.add("one"); values.add("two"); values.add("three"); doc.setField(field, singletonMap("set", values));
When using the standard XML-based RequestWriter, you end up with a single value that looks like [one, two, three], because of the toString() calls on lines 130 and 132 of ClientUtils. It works properly when using the BinaryRequestWriter.
- is duplicated by
-
SOLR-4286 Atomic Updates on multi-valued fields giving unexpected results
-
- Resolved
-
-
SOLR-4294 Solr 4 atomic update incorrect value when setting two or more values to a multivalue via XML update
-
- Closed
-
-
SOLR-4080 SolrJ: CloudSolrServer atomic updates doesn´t work with Lists/Arrays (Objects, in general).
-
- Closed
-
- is related to
-
SOLR-4286 Atomic Updates on multi-valued fields giving unexpected results
-
- Resolved
-