James hit it. You're looking at sorting left to right. is the first non-equal component and falls between the values of your start and end key.
On Fri, Jan 13, 2012 at 2:16 PM, Jamie Talbot <[email protected]> wrote: > Hi Martin, > > I think this is because 18 (as your fourth key component) is between 0 > (in your startKey) and 23 (in your endKey). > > Cheers, > > Jamie. > > On Fri, Jan 13, 2012 at 12:11, Martin Hewitt <[email protected]> wrote: >> Hi all, >> >> I've been banging my head against the wall with this for ages, can someone >> enlighten me as to why a view entry with the key: >> >> key: [ >> 2012, >> 1, >> 13, >> 18, >> "theme", >> "observed", >> "Radio Page" >> ] >> >> Is returned with the query parameters: >> >> startkey=[2012,1,13,0,"metric","31214616cc684011f9e9ea1df9020114"] >> >> endkey=[2012,1,13,23,"metric","31214616cc684011f9e9ea1df9020114",{}] >> >> An example of the key I'm looking for is: >> >> key: [ >> 2012, >> 1, >> 13, >> 18, >> "metric", >> "31214616cc684011f9e9ea1df9020114", >> 16 >> ] >> >> Any help hugely appreciated, thanks! >> >> Martin > > > > -- > --- > http://jamietalbot.com
