Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 79926 invoked from network); 6 Feb 2010 16:46:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Feb 2010 16:46:16 -0000 Received: (qmail 98682 invoked by uid 500); 6 Feb 2010 16:46:14 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 98575 invoked by uid 500); 6 Feb 2010 16:46:14 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 98562 invoked by uid 99); 6 Feb 2010 16:46:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Feb 2010 16:46:14 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of manokaran@gmail.com designates 209.85.216.180 as permitted sender) Received: from [209.85.216.180] (HELO mail-px0-f180.google.com) (209.85.216.180) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Feb 2010 16:46:07 +0000 Received: by pxi10 with SMTP id 10so1420540pxi.13 for ; Sat, 06 Feb 2010 08:45:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=8NWbGumfkkRYRc09NOEs6KohFl7qNSwF1Ms3nG1jBH0=; b=sGj7fryK4lq7LmrzSRbdI9KohfFajmYh5ls6z9yp+ZKxsUJCrCWLkPlp8Cbm7ujhMb N5rvUeELo02v4ux1ksipymqx1mfkyxK17mDnw9bv0rIsD3BvKIwtLE5cxLlEHUsh9K7U APxAtKwH5lAnexPuKPj+YDNHl2Mho+7j5Ys7c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=U+x9RJPNEoaNuj6uX6dRk7J5Uidu5eZbwhlg8ITRBAQ7n5F097iVTgYUKA9u/zfFgv LDLsYymPr1bFrW2X0or/W5bztkvfIZYxy177bopjEICwS2BAgJB+j84C+k+g0OmvC3qA MEPXKabMBUZM8b8TaOuoFOwEvGovyhKWsAHPY= MIME-Version: 1.0 Received: by 10.142.249.22 with SMTP id w22mr1873327wfh.52.1265474747718; Sat, 06 Feb 2010 08:45:47 -0800 (PST) In-Reply-To: <7bf1bec51002060747w7bd24206q18aa820327232955@mail.gmail.com> References: <7bf1bec51002060500p5a3c2c80k602aa059b11dd285@mail.gmail.com> <98a246a11002060527u2b7fff04yf58afd16aebb75b9@mail.gmail.com> <7bf1bec51002060747w7bd24206q18aa820327232955@mail.gmail.com> Date: Sat, 6 Feb 2010 22:15:47 +0530 Message-ID: <7bf1bec51002060845q483cb67fnbeef3ba999f5f333@mail.gmail.com> Subject: Re: ranking a big list From: Mano To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=00504502cafecf5e5f047ef14c4d --00504502cafecf5e5f047ef14c4d Content-Type: text/plain; charset=ISO-8859-1 On Sat, Feb 6, 2010 at 9:17 PM, Mano wrote: > > On Sat, Feb 6, 2010 at 6:57 PM, Metin Akat wrote: > >> Hi, >> What if 2 students have score of 200 and the next 3 have score of 199? >> How do you decide who is fourth? >> >> > There is no fourth rank in that case. Only first (the 2 200's) third (the 3 > 199's) and sixth etc ranks. > > map: function(doc){ } --00504502cafecf5e5f047ef14c4d--