PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Saturday the 19th of January, 2013

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[01:16:59] <Ephexeve> Hey guys, anyone familiar with mongoengine?
[01:30:54] <Ephexeve> Anyone?
[01:45:55] <azbyin> hi all..
[01:48:00] <azbyin> how do I query for documents that have a certain string as part of an array, the array being a value of a document
[01:48:40] <azbyin> eg: { 'users': ["abc","def"] }, {'users
[01:48:54] <azbyin> ': ["def"] }
[01:49:13] <azbyin> now if i want only the document where user abc is involved, how do i setup the query?
[01:58:03] <azbyin> i understand the $in operator anbd it is very powerful, but it does thi wante opposite of what
[01:59:05] <azbyin> i mean, i want to select documents that have a matching string within the field's value array
[01:59:40] <azbyin> $in matches the field's single value to be within my supplied array of values
[05:43:53] <naiquevin> Hello everyone, I have an instance of mongodb running on a server with 1gb ram and no swap but top shows that mongod is taking 5gb virtual memory. Is this possible?
[09:39:26] <jayant__> Hi, can i define a class in pymongo?
[09:39:56] <jayant__> i want mongo to accept data in a particular format
[10:59:33] <kali> jayant__: you need something more than pymongo for that. look at mongoengin or other odm implementations
[13:00:52] <mitsuhiko> anyone any ideas how to figure out why lock contention on a mongodb is on the rise?
[13:01:07] <mitsuhiko> the primary barely has any load and io seems to be doing fine as well
[13:02:36] <Derick> page faults?
[16:01:00] <jiffe1> are the mongodb states explained anywhere?
[18:55:49] <aep> would it make sense to use tailable cursers for a live chat?
[19:11:00] <The_Programer> is there a channel for the C# Mongo Driver?
[19:12:01] <toothrot> not specifically
[19:12:51] <The_Programer> then is it ok to ask a C# Mongo question here?
[19:13:05] <toothrot> yes
[19:13:26] <Glacee> Does the secondary nodes keep the active data set in memory?
[19:14:45] <The_Programer> if I use var to define a MongoCollection I can call FindOne() on it but if I define a MongoCollection using MongoCollection I can not call FindOne() why is that?
[19:16:12] <strnadj> The_Programer: how do you mean it? Could you please give us an example?
[19:17:14] <The_Programer> if I define a collection like this: var collection = database.GetCollection<MailMessage>("messages"); this works: collection.FindOne(query);
[19:17:58] <The_Programer> if I do it like this: MongoCollection collection = database.GetCollection<MailMessage>("messages"); then I get no definition for FindOne
[20:54:17] <zachwolfe> I have a record with fields 'username' and 'email'. I'd like to, using one request, find a record with a match in the field 'username' or 'email', or both. Is this possible?
[21:03:09] <FtMan> program logic implements it
[21:28:51] <binroot> Hey guys, I have a collection of 'nodes' that look like {_id:1, links:[2,3,4]}
[21:29:05] <binroot> What's the best way to query a full path of the graph?
[21:29:41] <binroot> or maybe even all ids in a network with each other
[21:34:53] <kali> binroot: you need graph algorithm or a graph database
[22:38:30] <zip_> what's the safest way to test the validity of a string you are passing to the mongo.ObjectID() constructor?
[23:12:24] <zachwolfe> I'm trying to use mogoosejs' $or operator in a find(), but I'm getting odd results.
[23:12:26] <zachwolfe> The above request works fine in the mongo CLI but not in mongoose
[23:12:29] <zachwolfe> https://gist.github.com/4575753