[00:48:34] <MacWinne_> is there a way to convert a regular index to a sparse index? or do you just need to drop and recreate teh index?
[00:50:28] <josef32> im trying to execute a mongo mapreduce function, but it needs parameters from nodejs and also functions defined in node, is that possible?
[00:55:26] <cheeser> MacWinne_: you have to recreate it
[01:07:52] <josef32> ok, and how can i do that with external parameters?
[01:09:05] <josef32> for example, i need to have the total working time for 1 specific employee, the parameter employeeid and the startdate and enddate are dynamic
[01:09:29] <josef32> the function is fixed now, thanks by the way, but the parameters are still not working
[01:12:23] <josef32> i found a solution, but really thanks for the help :)
[01:59:54] <dcslv> hello guys, i work at a company with a very bad mongo installation and we are looking for a consultant to help get us in a better place. Can someone point me in the right direction to find that person?
[13:57:55] <StephenLynx> so you might want to check it again when 3.1 comes out
[14:52:40] <hackeron> hey, I have many (slow) queries like this - any suggestions how to speed such a query up? - will indexing something like starts_at help? < QUERY [conn17] query timeline.events query: { $query: { starts_at: { $lte: new Date(1440168395000) }, ends_at: { $gte: new Date(1440168395000) } }, $orderby: { _id: 1 } } planSummary: IXSCAN { _id: 1 } ntoskip:0 nscanned:77952 nscannedObjects:77952 keyUpdates:0 write
[17:48:40] <deathanchor> is there a a way in the script.js you run with mongo to use the existing from the command line args?
[17:51:21] <deathanchor> ah nevermind, I can use --nodb arg
[18:15:42] <webuser20> Good morning. Is there a way to close a connection using the Ruby driver? I am having some issues with connections not being closed/reused
[20:19:24] <INIT_6_> Hi, I was wondering if someone could help me out determine if MongoDB 3.0x has a different reply for heartbeat. http://serverfault.com/questions/521965/how-can-i-filter-mongodb-replica-set-heartbeats-with-tcpdump Seems like it just now replies with ok (6f:6b) but Having a hard time creating a filter for it in wireshark if its even the right thing to look for. Thanks for any advice/help.
[22:37:51] <bodqhrohro1> If a cursor returned by 'find()' definitely has no results 'next()' called on it no matter returns some strange result with _id: 2. And therefore 'hasNext()' returns 'true' in this case. What is it?
[22:39:58] <bodqhrohro1> { _id: 2, _state: undefined, _result: undefined, _subscribers: [] } to be exact
[22:51:42] <Boomtime> bodqhrohro1: are you using the mongo shell? also, can you pastebin the output from db.collection.stats() (replace 'collection' with your collection name)
[22:56:53] <bodqhrohro1> Boomtime: I'm using the 'mongodb' module for Node.js (DB.collection('users').find({"email": req.body.email}).next()). There seems to be no such problems in the shell. Stats: http://pastebin.com/ZXCKUUDV