google-code-export / morphia

Automatically exported from code.google.com/p/morphia
1 stars 0 forks source link

No way to specify jsMode in Datastore.mapReduce #368

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This is supported in Mongo 2+ I believe. I need this to optimize the many small 
map/reduce calls I make.

Original issue reported on code.google.com by nic%tran...@gtempaccount.com on 23 Jan 2012 at 2:13

GoogleCodeExporter commented 9 years ago
Is there a workaround for now? Is this supported in the standard Java drivers?

Original comment by nic%tran...@gtempaccount.com on 23 Jan 2012 at 4:25

GoogleCodeExporter commented 9 years ago
It isn't support directly by the driver but MapReduceCommand has extra 
properties where you can set this. I will add an override where you can pass in 
a MapReduceCommand which will be passes on basically.

You will have to create the MapReduceCommand and set those options.

Original comment by scotthernandez on 8 Feb 2012 at 7:18