couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Anderson" <>
Subject Re: Views using JSON Arrays
Date Thu, 03 Jul 2008 16:42:03 GMT
On Thu, Jul 3, 2008 at 7:29 AM, Bradford Winfrey <> wrote:
> Is there a way to get the key parameter (or any of the parameters) from within a view?
 For instance...

That can't work because the view is computed once per document, and
queried as many times as you like.

In your case the best option involves one query per key. You'll only
have a few tags per query so it doesn't seem so bad. I'm currently
running queries that involve the joining of hundreds of discontinuous
keys, and they still only take a few seconds.

Chris Anderson

View raw message