couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Łukasz Mielicki <mieli...@gmail.com>
Subject reduce order vs descending
Date Wed, 23 Feb 2011 18:12:54 GMT
Hi everybody,

I can observe that order of values provided to reduce function depends
on descending query parameter.
Is this a bug?  Or does Couch support left and right reduce separetely?

Couchbook says: If you specify descending=true, the reading direction
is reversed, not the sort order of the rows in the view.

Also my assumption is the reduced values are always provided in key
order (and [key, _id] for first reduce step). Does it apply to all
reduce steps then?

Thanks,
Łukasz

Mime
View raw message