mapreduce for search