Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
4.0
-
None
Description
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.
Attachments
Attachments
Issue Links
- 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
-