On Sun, Nov 16, 2008 at 7:54 PM, Nicholas Retallack
<[EMAIL PROTECTED]> wrote:
> We could do 3 queries anyway, each with the maximum number of documents on
> the page, then sort them ourselves and throw away the extras. This gets
> messy fast though, when you try to keep track of where to start th
Hi Nicholas,
I just ran into the sort by date thing last night. My solution was:
function(doc) {
time = doc.created_at.replace(/\D/g, "");
emit([doc.document_id, time], doc)
}
to convert my time stamp (also in the form of a string like yours)
into a number which could be sorted.
Regarding p