[06:46:42] <greybrd> hi there. upgraded to mongo-java-driver 3.0 have to disable the unwanted loggin. please help
[06:49:33] <greybrd> hi there. upgraded to mongo-java-driver 3.0 have to disable the unwanted logging. please help
[09:44:57] <av_> My document is like this: { "_id" : ObjectId("5667f50ab2bdad32cb729fa9"), "user_id" : 6, "viewers" : [ 7, 9, 4, 78, 89 ] } how do I find length of viewers with a single query? user_id is unique, so I will use that for filtering
[11:09:10] <StephenLynx> I thought my repository would work
[11:10:17] <StephenLynx> https://docs.mongodb.org/v3.0/tutorial/install-mongodb-on-red-hat/ this page didn;t update though
[11:11:35] <synthmeat> Derick: yeah, looks like it works from trusty
[11:29:44] <OccamRazor> Hi, someone with experience with mongo, java and linux can help me?
[11:30:30] <Derick> OccamRazor: I don't, but it's better to just ask your question. If people know the answer, they'll reply.
[11:32:53] <OccamRazor> i have an unusual result when i do a "nestat", it shows a series of connection from java to mongo, and for each connection, a "mirrored one" from mongo to java. Is a correct behavior?
[11:42:22] <Derick> OccamRazor: can you pastebin the netstat?
[11:44:40] <OccamRazor> I've reduced the netstat to a single pair... cause are 780 similar more lines... - http://pastebin.com/EE0NK7XX
[12:07:32] <AbuDhar> what should I call my column in my database? posted_time ? does it sound weird?
[12:07:38] <AbuDhar> it's the time when my reminder is posted
[12:38:38] <chevy> Is there a way to query complex document(with nested subdocuments) by some key and value which I dont know where it lays in structure?
[12:40:06] <chevy> for example I have docs in collections like {a:1} and {b: {a:1}} and I want to exceute a query which will return docs with pair {a: 1} somewhere id document structure.
[13:50:21] <flok420> i'm trying to remove documents from a collection using pymongo: http://pastebin.com/CLvXEa73 Now the strange part is that this returns "None". I expected it to return a dict() with 'n' set to the number of deleted documents. what am i doing wrong here?
[14:41:25] <Gurpartap> This document is only exporting out floats (unlike some other docs that print a mix of ints and $numberLongs)
[14:43:22] <Gurpartap> Probably ended up saving them with the wrong data type when they were inserted. Sounds about right?
[14:43:46] <Gurpartap> (shouldn’t mongo cli query also print them out in exponential form if they were floats though)
[14:44:19] <Gurpartap> (I can’t remember ever setting those fields to float)
[14:44:38] <Gurpartap> “By default, the mongo shell treats all numbers as floating-point values. The mongo shell provides the NumberLong() wrapper to handle 64-bit integers.” - https://docs.mongodb.org/manual/core/shell-types/#numberlong
[14:45:49] <Gurpartap> I just realized that the data type is actually BSON Array underneath, and I suppose mongodb is taking care of the type.
[14:46:41] <Gurpartap> If I’m not wrong in my assumption, for arrays that don’t have any int64 member, it’s storing as floats (as the link also indicates it should do)
[14:49:43] <Derick> 14:38 <Gurpartap> Probably ended up saving them with the wrong data type when they were inserted. Sounds about right?
[17:07:16] <kegster> so would it not be good to use say postgres with node.js/express apps?
[17:09:11] <kegster> i'm just about to tinker with js apps and curious on why to use mongo vs postgres
[17:09:36] <kegster> a buddy said he NEEDED relationships in the database-- so mongo def would not be a choice for him?
[19:04:56] <lijeesh> hello guys, I need some help with mongos. In my sharded cluster, mongos frequently fails during peak connections. Following is the error message:
[20:13:21] <troypayne> is it possible to apply logic written in javascript to an Aggregate call? I want to return stuff based on some basic logic, and THEN limit
[20:14:00] <troypayne> right now i’m doing this so called basic logic, after returning the limited data set, and i need to analyze the whole
[20:20:29] <troypayne> i guess it’s called an aggregate stage. where this stage would be javascript
[23:22:29] <Nyterax> meteor up fails to install mongodb on ubuntu 15.10 (log: http://pastebin.com/4TjnaFfk ) anyone?
[23:53:04] <joannac> Nyterax: install it manually?