Kris: Maybe too simple, but did you commit afterwards?
On Thu, Dec 22, 2016 at 10:45 AM, Shawn Heisey <apa...@elyograg.org> wrote: > On 12/22/2016 10:18 AM, KRIS MUSSHORN wrote: >> UPDATE_RESULT=$( curl -s -X POST -H 'Content-Type: text/json' >> "https://snip/solr/TEST_CORE/update/json/docs" --data-binary >> '{"id":"*'$DOC_ID'","metatag.date.single":{"set":"$VAL"}}') >> >> was the only version that did not throw an error but did not update the >> document. > > I think that will put a literal "$VAL" in the output, rather than the > value of the VAL variable. It will also put an asterisk before your > DOC_ID ... is that what you wanted it to do? If an asterisk is not part > of your id value, that might be why it's not working. > > Answering the earlier email: Your command choices are add, delete, > commit, and optimize. An update is just an add that deletes the original. > > Thanks, > Shawn >