You cannot do that. Solr does document-level updates with batch commits. The 
value will be available after the batch commit completes. With Solr4 you can do 
a realtime get after the commit, but it is still two operations.

wunder

On Feb 5, 2013, at 9:09 AM, Marcos Mendez wrote:

> Any ideas on this?
> 
> 
> Begin forwarded message:
> 
>> From: Marcos Mendez <mar...@jitisoft.com>
>> Subject: solr atomic update
>> Date: January 31, 2013 7:09:23 AM EST
>> To: solr-user@lucene.apache.org
>> 
>> Is there a way to do an atomic update (inc by 1) and retrieve the value in 
>> one operation?
> 




Reply via email to