On Tue, Dec 30, 2008 at 9:13 AM, Damien Katz <[email protected]> wrote: >> Fixing `descending=true` and the whole startkey & endkey swap. There's >> a major n00b WTF there. I think in this case, an suprisingly empty >> view result is not the best addition to the learning curve. > > > So by swapping the startkey and endkey automatically, I think we'd be > supporting a incorrect model about how the queries work. >
You've convinced me. > > Perhaps a better way is to put a flag in the result set if the startkey and > endkey are misordered, so when you get back the results and they are empty, > there will be a member like "keys_misordered:true". > Yes. Better documentation may be the best solution. -- Chris Anderson http://jchris.mfdz.com
