MongoDB中MapReduce編程模型使用實例
時間:2024-03-08 08:50作者:下載吧人氣:16
注:作者使用的MongoDB為2.4.7版本。
單詞計數示例:
插入用于單詞計數的數據:
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’})
標簽MongoDB,MapReduce,編程,模型,使用,實例
網友評論