Is there a reason your key isn't emit([doc.office, witness.lastName, witness.firstName]) ? Also, using "\uffff" or similar might be better than "ZZZ".
Eli On Mon, Jan 31, 2011 at 6:28 AM, Matthew Woodward <[email protected]>wrote: > On Thu, Jan 27, 2011 at 8:08 AM, Jan Lehnardt <[email protected]> wrote: > > > You've got to pick and endkey that sorts after your "largest" key object. > > e.g. {"firstName":"ZZZZZZZZZZ","lastName":"ZZZZZZZZZZ"} (This is > off-hand, > > maybe there's a smarter way) > > > > Just to follow up on this, finally got a chance to play around with this > and > this does indeed do the trick. There may be a smarter way but this is smart > enough for me since it's working. ;-) > > Really appreciate the assistance. > -- > Matthew Woodward > [email protected] > http://blog.mattwoodward.com > identi.ca / Twitter: @mpwoodward > > Please do not send me proprietary file formats such as Word, PowerPoint, > etc. as attachments. > http://www.gnu.org/philosophy/no-word-attachments.html >
