Raindrop/Megaview: Difference between revisions

Jump to navigation Jump to search
m
typo
(Created page with 'Raindrop This document gives a little background about couchdb's view concept and the raindrop implementation of a 'mega-view' which allows most of our query requirements to…')
 
m (typo)
 
Line 99: Line 99:
Note how the 'to' field is a list of identity IDs and that is also appears in 'rd_megaview_expandable'.  Given this, the document would cause the following keys to be emitted for the 'to' field:
Note how the 'to' field is a list of identity IDs and that is also appears in 'rd_megaview_expandable'.  Given this, the document would cause the following keys to be emitted for the 'to' field:


* ["rd,msg.body", "to", ["email", "mhammond@somewhere"]]
* ["rd.msg.body", "to", ["email", "mhammond@somewhere"]]
* ["rd,msg.body", "to", ["email", "someoneelse@gmail.com"]]
* ["rd.msg.body", "to", ["email", "someoneelse@gmail.com"]]


Obviously, if 4 items were in the 'to' list, four keys relating to that field would be emitted.
Obviously, if 4 items were in the 'to' list, four keys relating to that field would be emitted.
Confirmed users
98

edits

Navigation menu