Re: SOLR Atomic Update - String multiValued Field

2019-07-24 Thread Furkan KAMACI
Hi Doss, What was existing value and what happens after you do atomic update? Kind Regards, Furkan KAMACI On Wed, Jul 24, 2019 at 2:47 PM Doss wrote: > HI, > > I have a multiValued field of type String. > > multiValued="true"/> > > I want to keep this list unique, so I am using atomic updates

SOLR Atomic Update - String multiValued Field

2019-07-24 Thread Doss
HI, I have a multiValued field of type String. I want to keep this list unique, so I am using atomic updates with "add-distinct" {"docid":123456,"namelist":{"add-distinct":["Adam","Jane"]}} but this is not maintaining the expected uniqueness, am I doing something wrong? Guide me please. Than