json - Couchbase's view Automated Index Updates setting -
i'm looking way change couchbase's view automated index updates setting.
i've followed this couchbase documentation , produced following curl command:
curl -x post http://administrator:welcome@localhost:8091/settings/viewupdatedaemon -d 'updateinterval=7000&updateminchanges=1'
but i'm getting error:
{"updateinterval":5000,"updateminchanges":5000,"replicaupdateminchanges":5000}'updateminchanges' not recognized internal or externa l command, operable program or batch file.
when try change 1 parameter, example:
curl -x post http://administrator:welcome@localhost:8091/settings/viewupdatedaemon -d 'updateminchanges=1'
it didn't give error settings remained same (produced in response):
{"updateinterval":5000,"updateminchanges":5000,"replicaupdateminchanges":5000}
i tried send fields in json format same outcome - no error settings did't change.
curl -x post http://administrator:welcome@localhost:8091/settings/viewupdatedaemon -d '{"updateinterval":7000,"updateminchanges":100,"replicaupdateminchanges":100}'
so question is: how 1 can change couchbase's view settings via curl rest api? use latest couchbase server v.2.0.1
late game, but...
the content of request form data.
so should post such.
content (for case):
updateinterval=7000&updateminchanges=1
Comments
Post a Comment