RE: [External] : Re: Update all rows with a value for one specific field in one core

2022-11-29 Thread Shushuai Zhu
Mikhail/Thomas, thanks a lot for your quick answers. Shushuai -Original Message- From: Thomas Corthals Sent: Tuesday, November 29, 2022 2:29 AM To: users@solr.apache.org Subject: [External] : Re: Update all rows with a value for one specific field in one core Hi Shushuai, Like

Re: Update all rows with a value for one specific field in one core

2022-11-28 Thread Thomas Corthals
Hi Shushuai, Like Mikhail said, bulking your updates will be way faster than sending individual update requests. Depending on how large (or should I say small) the actual value is you're setting, you might be able to send a few hundred or even a few thousand updates per request. If you're

Re: Update all rows with a value for one specific field in one core

2022-11-28 Thread Mikhail Khludnev
Hello Shushuai. There's no 'columnar update' handler which you are asking for. It needs to send per doc updates, but there's much sense in bulking them by sending multiple update commands per request. On Tue, Nov 29, 2022 at 6:27 AM Shushuai Zhu wrote: > Hi, I know we can do something like

Update all rows with a value for one specific field in one core

2022-11-28 Thread Shushuai Zhu
Hi, I know we can do something like below to update one row for one field in a solr core: curl http://host:port/solr/core_1/update?commit=true --data-binary $'[{"id" : "1", "field1" : {"set":"test1"} }]' I want to update all rows for one field with one value in a solr core. For example,