Add comment to change in mltextProperty

This commit is contained in:
Eva Vasques
2022-03-21 11:37:57 +00:00
parent b479fe7f89
commit 588ae4d686
@@ -2330,6 +2330,9 @@ public class SolrInformationServer implements InformationServer
List<String> localisedValues = getLocalisedValues(value);
// On ML multivalued fields, we cannot add multiple arrays to the set, we need to merge the values into the
// pre-set array created by our implementation of addField on PartialSolrInputDocument. This does not apply to
// SolrInputDocument that uses the default implementation of addField.
if (merge)
{
localisedValues.forEach(val -> valueHolder.accept(storedFieldName, val));