You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Erick Erickson <er...@gmail.com> on 2013/02/03 13:46:50 UTC
Re: solr atomic update
Not that I know of...
Best
Erick
On Thu, Jan 31, 2013 at 7:09 AM, Marcos Mendez <ma...@jitisoft.com> wrote:
> Is there a way to do an atomic update (inc by 1) and retrieve the updated
> value in one operation?
Re: solr atomic update
Posted by Rohan Thakur <ro...@gmail.com>.
hi
were you able to do atomic update for specific field using curl....im using
curl from windows cmd but getting error like host can not be resolved im
using this command:
C:\Users\rohan>curl www.localhost.com:8983/solr/update?commit=true -H
"Content-t
ype:text/json" -d '[{"value":"samsung-wave-s5253-silver",
"value":{"set":"samsun
g-111"}}]'
any help would be greatly appreciated.
thanks
regards
Rohan
On Sun, Feb 3, 2013 at 6:16 PM, Erick Erickson <er...@gmail.com>wrote:
> Not that I know of...
>
> Best
> Erick
>
>
> On Thu, Jan 31, 2013 at 7:09 AM, Marcos Mendez <ma...@jitisoft.com>
> wrote:
>
> > Is there a way to do an atomic update (inc by 1) and retrieve the updated
> > value in one operation?
>