[01:17:52] <oklada> i'm traveling overseas (canada from the us) and can't connect to mongolab; i can't even ping the server. is this b/c of my location?
[12:23:35] <thik> can i use $elemMatch inside $project
[13:14:40] <Avish> Hi all. Do I understand correctly that using Insert with a batch of documents and ContinueOnError set to true would be the equivalent of INSERT IGNORE in e.g. MySQL? i.e. that all documents in the batch that do not violate a unique index would get inserted?
[13:50:34] <zoek1> Avish: yes, it's similar and you if the bulk insert generate error you an retrive it with getLastError command
[13:51:14] <LesTR> Avish: I have same opinion (we testing this in this week)
[13:52:52] <Avish> well I'm using continueOnError and ignoring DuplicateKeyException (I'm on Java, if that matters) but for some reason only some of the documents make it through, although the collection was empty before the insert. Anyone seen something like this?
[14:04:23] <zoek1> Avish: can you provide the code or the documents?
[14:17:29] <LesTR> Avish: that's very crazy idea, please check your code and send bugreport (if its needed)
[14:18:26] <Avish> ron, you'll have to explain yourself a bit better... do we know each other?
[14:19:00] <Avish> zoek1, lesTR: the problem was on my side, false alarm.
[14:19:10] <ron> Avish: nope. never met. but apparently, we do know at least one person in person. not that it matters. ignore me now :)
[14:20:10] <Avish> no, I'm intrigued. Who do we know in common?
[14:20:47] <ron> Umm, I'd rather not go into that, especially not in a logged channel :)
[14:25:46] <ZeroRomero> guys, I have a weird problem, I can no loger query array field if it has more than 3 elements (so it seems), checked everything, upgraded mongo, restored db, nothing works
[14:29:28] <ZeroRomero> I think I did =) I have tags field with about 50 elements in it, when i query it with $all, records with many tags are not returned, only those that have 1-3 tags
[18:44:07] <pingboy> anyone on that could help me figure out why just doing a simple collection.update on a document throws an error: NoMethodError: undefined method `keys' for #<User:0x4be15994 @username="blahblah">
[18:44:32] <pingboy> doesn't matter if the document exists in the db or not
[20:18:04] <mechastorm> anyone have an idea why Mongo would not be able to write to the journal file eventhough the db directory has been given 777 permission?
[20:18:29] <mechastorm> with the 10-gen installed version of mongo
[21:56:26] <NaN> is it possible to do a query to get only the document with more date? example > http://pastie.org/private/fne80eq722zdn5nirnuyg < get only the second doc
[22:12:35] <outcoldman> NaN, do you know all fields you want to get? you can use $exists for this.
[22:13:17] <outcoldman> NaN, MondoDB does not have function which can tell you the number of fields in document. If you really need it - it is better to keep it precalculated.
[22:13:44] <cheeser> you could probably use an M/R job to count the fields and return the one with most
[22:13:51] <MaddinXx_> hi there. I'm compiling Mongo from source as I need SSL support ... but I highly guess I'm going something more than wrong. It already took like 15GB ... where final packages (Debian etc.) are only some MB....what am I missing? :)
[22:18:37] <NaN> outcoldman: I can know it, so I'll better use another collection to track it
[23:13:56] <tpayne> Hello. I have a collection defined as (id, list, commonId).. . I'd like to make it so that the combination of id & list is a unique key, how do i do this?
[23:24:34] <whaley> also, I meant to specify "id" as the key name there and not "_id" in my ensureIndex example… as _id has uniqueness enforced on it implicitly