[SERVER-647] M/R: reduce into existing collection Created: 17/Feb/10  Updated: 12/Jul/16  Resolved: 15/Nov/10

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 1.7.3

Type: Improvement Priority: Major - P3
Reporter: Eliot Horowitz (Inactive) Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 25
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Duplicate
is duplicated by SERVER-2166 Support 2 or more input collections f... Closed
Participants:

 Description   

Would basically do a merge, any old _id would just be trampled.



 Comments   
Comment by auto [ 15/Nov/10 ]

Author:

{'login': 'erh', 'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}

Message: map/reduce into old collections merge or reduce SERVER-647
/mongodb/mongo/commit/94ba794b852279ac73c40b4c924f8b4487b2da8b

Comment by auto [ 15/Nov/10 ]

Author:

{'login': 'erh', 'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}

Message: working on merging m/r results SERVER-647
/mongodb/mongo/commit/1bb47c4a9289e24cb9593b274540b1d7640f53f6

Comment by Eliot Horowitz (Inactive) [ 07/Jun/10 ]

From mathias on SERVER-688

Could have a flag merge=update or merge=rereduce, depending on if you want to ignore the original value or combine it with the new one. Could also take a function there if you need something custom like age-out.

Comment by Kostyantin Voz [ 17/Mar/10 ]

This could work like views in CouchDB !!! But, I'm sure it will be faster !!!

Generated at Thu Feb 08 02:54:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.