I'm sorry, I totally misread your use case. Yes, you are correct. Forget what I said. :o)
I found couchdb-footrest a while ago, which apparently features 'Order Docs By Value Fields': http://github.com/assembly/couchdb-footrest Sadly, I never got couchdb-footrest to work. Like others have suggested: I think you'll want to go and look into couchdb-lucene, which will certainly do what you're looking for: http://github.com/rnewson/couchdb-lucene Nils Breunese. ________________________________________ Van: Magnus Ottosson [[email protected]] Verzonden: maandag 12 april 2010 11:19 Aan: [email protected] Onderwerp: Re: Search for city by name, order by population Are you sure about that? Wouldn't [name, population] first order the cities by name and if there are more than one city with the same name they would be order by population? Magnus De informatie vervat in deze e-mail en meegezonden bijlagen is uitsluitend bedoeld voor gebruik door de geadresseerde en kan vertrouwelijke informatie bevatten. Openbaarmaking, vermenigvuldiging, verspreiding en/of verstrekking van deze informatie aan derden is voorbehouden aan geadresseerde. De VPRO staat niet in voor de juiste en volledige overbrenging van de inhoud van een verzonden e-mail, noch voor tijdige ontvangst daarvan.
