On 7/20/2015 2:06 AM, Zheng Lin Edwin Yeo wrote: > I'm using Solr 5.2.1, and I would like to check, is there a way to update > certain field by using REST API URL directly instead of using curl? > > For example, I would like to increase the "popularity" field in my index > each time a user click on the record. > > Currently, it can work with the curl command by having this in my text file > to be read by curl (the "id" is hard-coded here for example purpose) > > {"id":"testing_0001", > > "popularity":{"inc":1} > > > Is there a REST API URL that I can call to achieve the same purpose?
The URL that you would use with curl *IS* the URL that you would use for a REST-like call. Thanks, Shawn