couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Candler <>
Subject Re: View Troubles
Date Tue, 02 Mar 2010 19:38:18 GMT
On Tue, Mar 02, 2010 at 12:20:28PM -0700, Sean Clark Hess wrote:
> > Multi-range queries have been mooted as a future feature.
> Mooted? As in "decided to be moot"? I've never heard it used as a verb
> before :)

> I'm ok working around it, but I don't really see why not to add it
> if you're allowed to ask for multiple keys.

It's just something that nobody has gotten around to implementing yet. The
suggestion was something like {queries:[startkey:"foo1",endkey:"foo2"],...}

> > Do remember that views themselves can be compacted.
> Woah, what? What does that even mean? I thought compaction just removed old
> versions of documents. Does Couch keep around old versions of views?

As far as I know, the view Btrees are also append-only, which means that
compaction will remove wasted space.  Also, the keys may not have been
emitted in optimal order, and compaction should fix that too.

The view compaction API is documented on the wiki.



View raw message