incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mano <>
Subject ranking a big list
Date Sat, 06 Feb 2010 13:00:35 GMT

I have a large list of assessment scores (of about 500k students). The
scores can range between 0 and 200. How do I find the rank of a particular
score? For smaller lists, I can just sort the array of scores and for each
student's score I can get the index of their score in the sorted list. But
how do I achieve it using mapreduce?


Lord, give us the wisdom to utter words that are gentle and tender, for
tomorrow we may have to eat them.
   -Sen. Morris Udall

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message