[01:15:13] <Jon1> having trouble adding a replset member… both are running both with same rs name both with --sslOnNormalPorts and --sslWeakCertificateValidation and I can telnet to secondary port 27017 from primary … but adding says secondary is not up.
[01:53:09] <diondion> I'm having trouble understanding the geospatial indexing and query operators. I have spatial fields corresponding to layout on a cartesian plane. I tried using a "2d" index and became aware of the 100 document / 4MB limit on the $near queries. Is there a way to use the 2dsphere index along with a $near style query such that the distance is calculated on the cartesian (and not an earth-like sphere)?
[04:41:35] <ladessa> I'm trying to count the number of distincts idUsuarios in collection called reforcos filtering by 'idOcorrencia': '54fa7df48a070f6d59c53057' https://www.irccloud.com/pastebin/8ExobGid
[07:46:31] <tvle83> i have a bson db dump from a forum that I would like to restore into a mongodb and be able to look at the data. I am getting an error "ERROR: Error creating index 0.search: 16730 err: "bad textIndexVersion: 2""
[07:47:19] <tvle83> mongodb shell 2.4.9 so do i need to upgrade to the latest mongodb ?
[11:19:30] <suwaidtech> I am learning MEAN using this website https://thinkster.io/mean-stack-tutorial/
[11:20:10] <suwaidtech> However, I was able to compile my HTML and angular into the webpage and I am still facing some errors when running the code in Node.js
[13:11:12] <esko> Can you help with a design question?, i recently jumped into a flask/mongo project, both which are new to me. I have in the project a select/edit form, where i use selectize.js to post and get values, i store these in an array inside the same collection as the exercise itself. would i be better off to create a new collection with the entries, and then save the ID of each with the exercise?
[13:12:12] <esko> alternatively i would like to get a list of all arrays within all documents in the collection
[13:15:14] <esko> i use this to get what i want from the current exercise: app.db.balls.find({'id':bid},{_id:0,'links': { '$elemMatch': {'title': {'$regex' : '.*' + query + '.*'}}}), however i would like to find all title: inside all documents and return that, if i use {} as filter it will return all empty as well
[13:32:20] <esko> i guess im looking for an answer to: how i would query all documents in the collection and only return the arrays that match, but not the empty results
[13:42:26] <esko> example: db.balls.find({},{_id:0, links:{$elemMatch:{title:'more'}}}).count() = 120, should be 1, so its 119* {} in my result
[13:51:30] <esko> i think, $exists:true not sure how to incorperate it into my query though
[14:47:28] <esko> i solved it like so: {links:{$exists:true}, $where:'this.links.length>0'}
[15:18:11] <cheeser> esko: $where isn't exactly encouraged. what were you trying to query for?
[15:23:52] <zero_coder> hey, i cant get mongo shell running in arch. it shows failed to connect
[15:39:54] <cheeser> you can use the smallfiles option but by default, iirc, mongo will preallocate a 2G file which will have extra metadata surrounding it.
[16:54:15] <RWOverdijk> I'm currently trying to sort by distance, which is working. But I am also looking for the distance, which I can't seem to get. What am I missing? https://gist.github.com/RWOverdijk/e263021fb1635a580f0a bonus question: What's the difference between $near, $geoNear and $nearSphere?
[17:00:45] <fkt> i have an entry structured like such: { "_id" : ObjectId("54fc4db01b8562722b9e8c67"), "03082015" : { "test" : { "data1" : "490.56", "data2" : [ 6, 12, 21 ], "data3" : [ 5, 32, 74 ] }}} . each entry has a datestamp object which contains other items. how would i query mongo for a specific date - in this example - 03082015
[17:01:14] <fkt> i would have thought db.test.find({"03082015": {}})
[17:49:52] <LpMode> anyway, let's make like he doesn't exist
[17:50:13] <LpMode> can i ask here for help about Jongo?
[17:52:47] <qmdb2> GothAlice is the slut #1 of MongoDB - this is constantly licking the balls of Derick and Eliot Horowitz. Gay scum.....and as dumb as a brick
[17:54:33] <iwzeiqweuo> GothAlice, scum like you belongs into the dumpster
[17:54:39] <iwzeiqweuo> you useless piece of MongoDB shit
[17:55:20] <LpMode> really he doesn't have something better to do?
[17:55:42] <GothAlice> No, he really doesn't. It seems he screwed up something, lost some data (that was in MongoDB at the time), and lost his job. So, he's… upset.
[17:55:48] <GothAlice> And has a lot of free time.
[17:56:47] <ktchup> if he came and asked nicely maybe he woudlnt have lost his job
[18:10:46] <RWOverdijk> "Your behaviour is not conducive to a positive support environemnt"
[18:10:58] <RWOverdijk> Most level headed response to a troll, ever.
[18:25:32] <LpMode> anyway, i'm new to mongo and NoSQL databases, i'm trying to update some data in my db using jongo. in the database the '_id' key matches with an UUID Object, so, when i insert my ClassName.class in the database i get a document like http://pastebin.com/4rqtRyaS . When i try to update the document with MongoCollection.update("{_id: \"" + <uuid> + "\"}").with(new ClassName) i get an error because <uuid> is different from LUUID("<uuid>").
[18:25:32] <LpMode> How can i get this second string? ( "LLUID(" + <uuid> + ")" doesn't work) thanks
[18:28:08] <cheeser> can you pastebin your actual code and error?
[18:38:57] <LpMode> excuse me, i went akf for few minutes.
[18:39:17] <LpMode> this is the class that calls the db http://pastebin.com/fzicXzy1
[19:24:20] <fkt> i have an entry structured like such: { "_id" : ObjectId("54fc4db01b8562722b9e8c67"), "03082015" : { "test" : { "data1" : "490.56", "data2" : [ 6, 12, 21 ], "data3" : [ 5, 32, 74 ] }}} . each entry has a datestamp object which contains other items. how would i query mongo for that specific date - in this example - 03082015
[19:24:53] <fkt> would have thought db.test.find({"03082015": {}}) from mongo console