Hi there,
I'm playing w/ Trident. Got one special user case, don't have much clue
yet. Wanna see if anyone has any good idea.
Here it is:
Input data is: (batchId, docId)
Ouput required:
batch1 {
docId1: count1
docId2: count2
}
Detail
input:
batch1 doc1
batch2 doc1
batch1 doc2
batch1 doc1
output:
batch1 {
doc1: 3
doc2: 1
}
batch2 {
doc1: 1
}
It's easy to achieve (batchId: count) or (docId: count) via persistent
aggregate.
But how about above case?
--
Regards,
Qili Chen (Cheney)
E-mail: [email protected]
MP: (+1) 4086217503