Re: Solr Atomic update change value and field name

2020-05-22 Thread Hup Chen
he.org Subject: Re: Solr Atomic update change value and field name Try adding -format solr to your bin/post command. By default the post command will treat input as arbitrary json, not solr-format json. Jan Høydahl > 21. mai 2020 kl. 02:50 skrev Hup Chen : > > I am new to Solr. I tried to d

Re: Solr Atomic update change value and field name

2020-05-21 Thread Jan Høydahl
Try adding -format solr to your bin/post command. By default the post command will treat input as arbitrary json, not solr-format json. Jan Høydahl > 21. mai 2020 kl. 02:50 skrev Hup Chen : > > I am new to Solr. I tried to do Atomic update by using .json file update. > $SOLR/bin/post not only

Solr Atomic update change value and field name

2020-05-20 Thread Hup Chen
I am new to Solr. I tried to do Atomic update by using .json file update. $SOLR/bin/post not only changing field values, but field name also has become "fieldname.set", for instance, "price" become "price.set". Update by curl /update handler was working well but since I have several millions of