Mongo Map Reduce first time
- by James
Hello guys,
First time Map/Reduce user here, and using MongoDB. I have a lot of page visit data which I'd like to make some sense of by using Map/Reduce. Below is basically what I want to do, but as a total beginner a Map/Reduce, I think this is above my knowledge!
Find all visits to current page where external = true within the last 30 days (unix timestamp, I deal with the date ranges in PHP and then the array, not mongo date)
Group all visits by referral location
For each referral location, calculate how many then went to visit a page which has a certain word in the [tags].
I'm using the normal Mongo PHP extension if that has an impact.