MongoDB Extension and mapreduce

Hi,

I already upvoted the issue of the missing documentation on the bitbucket
page, but maybe someone else here can provide some insight in the meantime:
I cannot figure out what the expected syntax of the mapreduce function
should be. So far it seems that this expects a single argument, probably
some sort of struct. How to construct this struct is somewhat elusive. I
have a map function, a reduce function, a finalize, a target collection
action (reduce) and a target collection name.

I wonder if there is some sort of helper method that is needed to assemble
the map reduce argument? Can anybody provide some example for using
mapreduce with this extension?

Kind regards

Markus

I have a feeling that this is not implemented yet, although I haven’t looked at the code for ages

Mark Drew

develop • deploy • deliver
http://charliemikedelta.com ttp://charliemikedelta.com> On 15 Jun 2015, at 15:04, Markus Wollny <@Markus_Wollny> wrote:

Hi,

I already upvoted the issue of the missing documentation on the bitbucket page, but maybe someone else here can provide some insight in the meantime: I cannot figure out what the expected syntax of the mapreduce function should be. So far it seems that this expects a single argument, probably some sort of struct. How to construct this struct is somewhat elusive. I have a map function, a reduce function, a finalize, a target collection action (reduce) and a target collection name.

I wonder if there is some sort of helper method that is needed to assemble the map reduce argument? Can anybody provide some example for using mapreduce with this extension?

Kind regards

Markus


You received this message because you are subscribed to the Google Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.com mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com mailto:lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/37bfa5f8-bde9-4db3-b27a-f5abd63bd6b4%40googlegroups.com https://groups.google.com/d/msgid/lucee/37bfa5f8-bde9-4db3-b27a-f5abd63bd6b4%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout https://groups.google.com/d/optout.