couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <...@apache.org>
Subject Re: multiple reduces on same index
Date Thu, 27 Aug 2009 21:20:16 GMT
Hi Adam,

On 27 Aug 2009, at 23:14, Adam Wolff wrote:

> Hi list,One of our indices (map functions) is particularly data  
> intensive.
> We're generating roughly n^2/2 map entries for each document, so it's
> impractical to generate this index twice. It would be nice to be  
> able to
> write multiple reduce functions against this one index. Anyone else
> encountered this wishlist item? Or maybe there's a feature I missed?


For each design document CouchDB hashes view indexes by map
functions. If you have byte-by-byte identical map functions in two
views that have different reduce functions, the views share a single
index.

Cheers
Jan
--


Mime
View raw message