Lua map-reduce implementation based in mongoDB.