Yep, a call to _view_cleanup worked as you expected...

curl -H "Content-Type: application/json" -X POST
http://localhost:5984/my_database/_view_cleanup

On Mon, May 21, 2012 at 2:01 PM, Matthieu Rakotojaona <
[email protected]> wrote:

> On Mon, May 21, 2012 at 7:38 PM, Tim Tisdall <[email protected]> wrote:
> > Sorry for my ignorance, but how do you delete a temporary view?  Or can I
> > just safely delete the .view file in /var/lib/couchdb since it's
> transient?
>
> If I understand the .view file, it is unique as long as you don't
> change your design document. So you can just restart the server and
> cleanup your views; this will delete your temporary .view file.
>
>
> --
> Matthieu RAKOTOJAONA
>

Reply via email to