View indexes are not lost when compacting, but it’s possible you’re a release with bug COUCHDB-1445 in it (https://issues.apache.org/jira/browse/COUCHDB-1445). This was fixed in 1.2.0 and up.
B. On 22 Jan 2014, at 18:17, Vladimir Ralev <[email protected]> wrote: > Hi guys, > > I am experimenting with compaction ops. In a large DB with many big views a > compaction renders the DB unusable for almost 10 hours or so while I force > each view to be loaded by a script. Mass indexing completely overwhelms the > system. > > Is there some way to do compaction without losing the view indices? The way > I understand it indexing and compaction should be completely separate.
