Re: Atomic update error with JSON handler

2018-05-22 Thread Nándor Mátravölgyi
Hi, Firstly, I have already tried the request body enclosed in [...] without success. Turns out it was not the only issue. The path was not right for the atomic updates: On the v2 API: localhost:8983/v2/c/testnode/update/json/commands?commit=true Succeeds localhost:8983/v2/c/testnode/update/json?c

Re: Atomic update error with JSON handler

2018-05-21 Thread Yasufumi Mizoguchi
Hi, At least, it is better to enclose your json body with '[ ]', I think. Following is the result I tried using curl. $ curl -XPOST "localhost:8983/solr/test_core/update/json?commit=true" --data-binary '{"id":"test1","title":{"set":"Solr Rocks"}}' { "responseHeader":{ "status":400, "QT