Joel Reed wrote:
Chris Anderson wrote:
I would avoid using a reduce at all in this case, and just request the
key-range corresponding to the particular user directly from the map.
OK, but just to be clear, the data set I want to display would be
something like
User 1 -- Dates: 11/02/2003, 12/02/2004, 1/02/2005
User 2 -- Dates: 3/12/2004, 10/02/2005, 1/02/2006
User 3 -- Dates: 4/12/2003, 6/02/2006, 1/02/2006
etc...
You wouldn't advise me to make multiple calls to the same view for
each user would you? Once to get list of all users, then once for
every user? I was thinking that maybe in this case I should be using a
reduce function. What would you advise?
Btw, I don't know erlang, but if I can help out by adding info to the
wiki please let me know. Just some guidance on what is worthy of the
wiki and where it should be best put would be helpful.
jr