On 11/17/21 5:45 PM, Karan Jain wrote:
1) Can we try atomic update
<https://solr.apache.org/guide/8_2/updating-parts-of-documents.html#atomic-updates>
  for updating a field of more than one document without ID being passed? If
not, please suggest another way to do this.

I have never heard of any such capability.  As far as I am aware, you would have to send indexing requests that include an update for each ID.  You can (and should) batch them.  It would not be a good idea to send 1.5 million individual requests.

2) Do we need to stop the traffic (read and write) while updating a field
with atomic update?

For standard atomic updates, no.  For the in-place update capability, which has VERY specific requirements that typically most people cannot meet, I am not sure.

3) Whether the atomic update is possible if we want to update 1.5 M
documents in one go. Can we execute add, set etc. operations specified in
https://solr.apache.org/guide/8_2/updating-parts-of-documents.html#atomic-updates
  for the same key value pair for about 1.5 M documents?


Solr is a search engine, not a database.  An RDBMS (one example being mysql) can easily do this, but Solr can't.  Solr thinks in terms of documents, not tables comprised of columns.

Thanks,
Shawn


Reply via email to