I could be wrong, but I think if you try to access the deleted view,
it will trigger it to delete the actual index file
Whenever it does or not do that now, eventually couchdb views will
have a daemon to update indexes and to do housecleaning, compacting
and deleting views indexes automatically. In the meantime you can
delete the view index files via the OS. This is also a poor-man's
compaction, as couchdb will rebuild deleted indexes usually smaller
than before.
-Damien
On Jul 8, 2008, at 10:10 AM, Jan Lehnardt wrote:
On Jul 8, 2008, at 15:58, Brad King wrote:
After deleting a design document, the index file still exists on disk
even after database compaction. Is it on the roadmap to clean these
up
when a compaction occurs?
Yeah this is on the roadmap. Indexes don't yet get compacted.
Damien, what's the desired behaviour here? Deleting indexes when
the associated design document gets deleted or only during
compaction?
Cheers
Jan
--