t;
>
>
>
> -Original Message-
> From: kumar gaurav
> Sent: onsdag 17. juni 2020 19:02
> To: solr-user@lucene.apache.org
> Subject: Re: Java - setting multi-valued fields
>
> HI
>
> Example:
>
> String[] values = new String[] {“value 1”, “va
-
From: kumar gaurav
Sent: onsdag 17. juni 2020 19:02
To: solr-user@lucene.apache.org
Subject: Re: Java - setting multi-valued fields
HI
Example:
String[] values = new String[] {“value 1”, “value 2” };
inputDoc.setField (multiFieldName, values);
Can you try once to change the array to list
HI
Example:
String[] values = new String[] {“value 1”, “value 2” };
inputDoc.setField (multiFieldName, values);
Can you try once to change the array to list ?
List values = new ArrayList<>();
values.add("value 1");
values.add("value 2");
inputDoc.setField (multiFieldName, values);
regar
Hi,
My customer has a Solr index with a large amount of fields, many of these are
multivalued (type="string", multiValued="true").
I am having problems with setting the values for these fields in my Java update
processors.
Example:
String[] values = new String[] {"value 1", "value 2" };
inputDo