couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nils Breunese <N.Breun...@vpro.nl>
Subject Re: Efficient couchdb queries with explicitly specified keyset of >1000 IDs?
Date Wed, 29 Sep 2010 14:46:55 GMT
Heiko Schaefer wrote:

> I expect to have on the order of 100.000 documents in my couchdb, very
> soon. But an (independent and external) service may define groups of
> documents (a few thousand documents being one group). I'd like to be
> able do searches (query couchdb views) on just the subset of documents
> that are in one group.
> I'm not very keen to mark my documents themselves as members of a group,
> if it can be at all avoided. So I thought maybe I can make queries that
> explicitly list the relevant few thousand couch IDs in queries.

Why are you not very keen on adding the groupings to the documents? That would solve your
problems in a very relaxing way AFAIK.

Nils.
------------------------------------------------------------------------
 VPRO
 phone:  +31(0)356712911
 e-mail: info@vpro.nl
 web:    www.vpro.nl
------------------------------------------------------------------------

Mime
View raw message