[02:53:43] <lukebergen> fairly new to mongo and I can't figure out how to do this thing
[02:55:36] <lukebergen> if my collection of documents looks like this: {name: "whatever", an_array: [{id: 1, some_value: "hi"}, {id: 2 some_value: "bye"}]}
[02:56:37] <lukebergen> is there a way to (in a single query), find the document whose name is "whatever" and in that document find the array element whose "id" is 1 and update "some_value" to be "hello"
[03:30:33] <lukebergen> ahh, nevermind, figured it out. Guess I wanted the positional operator "$"
[06:26:55] <karavanjo> I installed Mongo on Debian OS according to http://docs.mongodb.org/manual/tutorial/install-mongodb-on-debian-or-ubuntu-linux/. But, when I run the command 'service mongodb start' - I get the error 'exec: 129: start: not found'. End, when I run 'mongo' I get the error 'Error: couldn't connect to server 127.0.0.1 shell/mongo.js:84'. What is the problem? Please advise.
[06:29:11] <acidchild> what is on line 129 of the script?
[06:32:20] <karavanjo> acidchild, I'm sorry, but as it is to know? :)
[06:33:16] <acidchild> I don't understand what you are asking.
[06:34:44] <acidchild> if the script is failing to start the application then there is something wrong with it and you should probably fix that first.
[06:34:58] <acidchild> if the application is starting and dying then you chould check the logs.
[06:35:06] <acidchild> just like any other application.
[06:59:16] <webbl> how can i correctly measure the working set in memory with mongodb using shard setting?
[09:17:01] <karavanjo> acidchild, thank you for your answer. I had to install mongo from /repo/debian-sysvinit but not of repo/ubuntu-upstart. Thank you very much!
[13:54:14] <trupheenix> is there any chance i can do a push and pop in the same find_and_replace operation?
[14:02:49] <arthurnn> hey… how does a query like this db.coll.find().limit(100) performs in shard cluster?
[14:03:16] <arthurnn> is it going to get 100 entries in each chunk then merge then? then get 100 again?
[14:26:47] <arthurnn> when mongo is sending chunks over to other servers .. doest write operation should work fine?
[18:01:40] <tomlikestorock> I'm creating a replicaset for 2.0.6 on ubuntu, and I've created my keyfile and turned on auth in the config. Do I have to specify the keyfile location on the command line when I start mongo, or is there an option for that in the config file?
[18:09:54] <tomlikestorock> ah, found it in http://www.mongodb.org/display/DOCS/File+Based+Configuration
[18:34:18] <korczis> hi there, anybody using nodejs/geddy and mongodb-mapper ?
[18:35:08] <ron> and if someone answers 'yes', would you only then ask your question?
[18:38:06] <korczis> ron: i do not want ask if no 'specialist' is in here.. anyway, i got problem :) i am using geddy with mongodb back-end, i have documents in collection called 'movies'. every documents contains field 'title' with title of a movie and field 'fts' containing words from title in array. i am trying to implement search functionality like this - https://gist.github.com/3260246 (see line 24) but it does not works. i tried also use $in and $all but it did not he
[18:38:07] <korczis> lped, can somebody point to what i am doing wrong?
[18:40:15] <korczis> and one more thing, how can i get count of documents in collection using geddy with mongodb-wrapper (see gist - https://gist.github.com/3260246 )
[18:54:36] <korczis> ron: you see, nothing happened, i could have saved my FUP limit ;-)
[18:55:12] <ron> korczis: you could have saved the useless question as well.
[18:55:32] <ron> and another tip, if you want assistance, try not asking on Sundays ;)
[19:32:57] <Frozenlock> Is there an age field, or do I need to add one?
[23:56:41] <sapht> hello, any way to check if a collection is capped in pymongo? the shell provides isCapped() but i see no documentation for that in pymongo
[23:58:53] <TkTech> sapht: Open the console and type "db.<collection>.isCapped" (no brackets) to see the source. Note it's calling exists() which is just "return this._db.system.namespaces.findOne({name:this._fullName});"
[23:59:37] <sapht> TkTech: oh so i could query system.namespaces in pymongo instead? i know the shell but i need python integration for this