Hi I'm trying to find a way to sum the size (disk space) used by documents which meet certain conditions (e.g. a certain value for a given attribute). So far I've though about a map function that will sort out the documents I'm interested in, and then a reduce function that will accumulate the size of those documents.
Is there a way for the map/reduce pair to have access to the individual document sizes? Has anyone created a similar solution using a different alternative? -- Cesar
