Is it possible to publish a design doc using the Java API

Apologies if this is documented somewhere that I am just missing.

2 Answers

« Back to question.

Hello,

You can find some sample code here:
http://tugdualgrall.blogspot.fr/2012/12/couchbase-101-create-views-mapre...

If you put the viewmode to production the view will be push to production.

Regards
Tug
@tgrall

« Back to question.

Yes, see the API documentation.