lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alfonso Muñoz-Pomer Fuentes <>
Subject Atomic updates on multiple documents
Date Thu, 17 Sep 2015 15:48:49 GMT
Hi, I have a question regarding atomic updates on multiple documents.

We’re using Solr 5.1.0, and I’m wondering if it’s possible to perform an 
atomic update on multiple documents with one request.

After having a look at I tried to 
do the following after the example by Yonik:
$ curl http://localhost:8983/solr/demo/update -d '
  {"author_s"   : "Neal Stephenson",
   "cat_ss"     : {"add":"Cyberpunk"}

I expected it would add the category “Cyberpunk” to all the books by 
“Neal Stephenson”, but instead a new document with only those fields was 

Is there a way to achieve what I described above, without reading all 
the relevant documents, modify them, and then sending them back to Solr?

Thank you in advance.

Alfonso Muñoz-Pomer Fuentes
Software Engineer @ Expression Atlas Team
European Bioinformatics Institute (EMBL-EBI)
European Molecular Biology Laboratory
Tel:+ 44 (0) 1223 49 2633
Skype: amunozpomer

View raw message