lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack Krupansky" <>
Subject Re: Update multiple documents in one query
Date Thu, 13 Jun 2013 20:21:05 GMT
That is not a feature available in Solr.

You can update a full document or do a partial update of a single document 
based on its unique key, and you can update a batch of documents using those 
two techniques.

You probably could implement custom code to do it.

Maybe even using a script update processor.

Or, just do it all in client code.

The latter would probably be the most straight forward.

A script update processor might actually be semi-reasonable as well, but 
you're going to have to get down and dirty to do it.

-- Jack Krupansky

-----Original Message----- 
From: Siamak Kolahi
Sent: Thursday, June 13, 2013 3:55 PM
Subject: Update multiple documents in one query

Hi folks,

I am trying to update multiple fields (assume q=id:*) and add a filed to
all of them. Is this possible?
If yes, what would be the syntax?

I am using the json update interface - /update/json ...


View raw message