【发布时间】:2013-05-28 04:43:03
【问题描述】:
db.foo.insert( { _id: 1 , desc: "the dog is running" } )
db.foo.insert( { _id: 2 , desc: "the cat is walking" } )
db.foo.ensureIndex( { "desc": "text" } )
db.foo.runCommand( "text", { search : "walk" } )
这是在 mongo 中运行的
如何使用 casbah 在 scala 中运行相同的 谢谢
【问题讨论】:
-
请正确格式化您的问题并改进措辞
标签: mongodb scala casbah mongodb-scala mongo-scala-driver