couchdb-user mailing list archives

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

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?

Thanks,
mano

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

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