[02:13:53] <LoneSoldier728> anyone know how to properly pull something nested in an array
[02:42:46] <sharondio> LoneSoldier728: Define "pull"? You mean query or update?
[03:07:24] <a|3x> db.something.find({'something':{'$not':{'$in':['something']}}}); works while db.something.find({'$not':{'something':{'$in':['something']}}}); doesn't, any reason why?
[07:46:21] <abn> I have a field that is { <field> : [v1, v2 ] } ... I want to convert it to { <field> : { v1 : date, v2: date} } .... any help would be appreciated
[07:47:31] <abn> i have gotten as far as > db.collection.find({ field : { $exists : true } }).forEach( function (x) { // do something like x.field = {} );
[07:48:29] <rspijker> abn: what are the v1, v2 in your example?
[10:14:24] <molavy> i can't understand when i 10 time click on a bottom that make same query why randomly generate above error
[10:15:47] <molavy> rspijker: remonvv: json_util.default is not stable
[10:17:34] <rspijker> or… the response you are getting is different every time and sometimes it contains something that isn't JSON?
[10:19:14] <rspijker> molavy: you probably want to write you own encoder, as explained here: http://stackoverflow.com/questions/16586180/typeerror-objectid-is-not-json-serializable
[10:24:55] <molavy> rspijker: i use that before , it return same error randomly
[10:25:44] <rspijker> molavy: the same error? When you convert all of your objectIDs to strings it still says can't convert ObjectID to JSON? Because then you are doing it wrong
[10:27:28] <molavy> rspijker: i should encode using code in above link before i can use use json.dumps(response,default=json_util.default,ensure_ascii=False).encode("utf8") ?
[11:12:58] <Diganta> remonvv: i need some sample code for connecting from hadoop to mongodb with configuring by programatically not by xml
[11:15:20] <remonvv> Diganta: That sounds like a job for #hadoop ;) Either way that should be googlable (word?). If you have MongoDB specific issues feel free to ask them here.
[11:17:30] <Diganta> no remonvv , right now i need the sample mapreduce code , ok thanks