MongoDB中MapReduce編程模型使用實例
時間:2024-03-08 08:50作者:下載吧人氣:20
注:作者使用的MongoDB為2.4.7版本。
單詞計數(shù)示例:
插入用于單詞計數(shù)的數(shù)據(jù):
db.data.insert({sentence:’Consider the following map-reduce operations on a collection orders that contains documents of the following prototype’})
db.data.insert({sentence:’I get the following error when I follow the code found in this link’})
標(biāo)簽MongoDB,MapReduce,編程,模型,使用,實例
網(wǎng)友評論