[00:54:43] <blizzow> when I create a replicaset, the primary node that I run rs.initiate() from only uses it's short hostname instead of FQDN as a member of the replica set. Is there any way to force it to use the FQDN as it's member name?
[01:52:23] <toter> Is there a way to replace the field "company" from every single result with the value "Samsung"?
[02:23:44] <archeron_> is it possible to create a case insensitive index? say for a unique index ensuring that all emails are unique that Test@email.com and test@email.com are not considered distinct
[02:42:56] <DesertRock> archeron_: what about forcing every index to be all caps or no caps?
[02:43:47] <archeron_> yep that is a solution for sure before I insert for the first time
[02:44:22] <archeron_> I was just interested I couldnt seem to find anything like it in mongo
[04:07:53] <PhyloGenesis_> Hi, I just installed Mongo on openSUSE and I ran "mongod" in one tab which worked fine, but when I run "mongo" the system doesn't recognize it as a command.
[04:12:20] <PhyloGenesis_> Nvm. I got it to work by cd to the directory and doing "./mongo". Not sure why I had to for mongo and not mongod, but whatever, it works now.
[07:05:38] <Streemo> Is there a way to store a geolocational region in my document? I need so encode documents with regions of different sizes. e.g. document is shown to the user if they are within N meters of the center point, but this N may differ depending on the doc.
[07:06:52] <Streemo> Or, is there a query that can say: "Get all documents where the normed distance between location: X and document.location is less than document.size"
[07:13:17] <Streemo> does anyone know the best way to go about that? thanks.
[08:19:18] <barque> Could I/should I have write concerns >= 2 with journaling set to true when doing two-phase commits?
[08:19:31] <barque> wouldn't it make sense to do so?
[21:05:52] <Streemo> if i wanted to store something locational like: "this document is valid in the region of radius R around point R_0" i dont think mongo can do that unless for all documents, R was constant
[21:06:14] <Streemo> any work arounds for this? I mean i could use a grid, or do some expensive math every time i query... but is there a more elegant solution?
[21:07:12] <Streemo> in the case R is contant, i just use a query like " find all docs within R of some point" but this isn't valid for documents with varying charactersitc lengths
[21:45:50] <edrocks> Streemo: there are a bunch of geolocation query operators you just need to specify your lat/lng in the correct format
[21:46:12] <edrocks> In one of my apps I query for all messages within X miles of some point
[21:47:01] <edrocks> Streemo: here are the relevant docs http://docs.mongodb.org/manual/applications/geospatial-indexes/ they like to call it geospatial
[21:58:14] <Hestil> a little bit offtopic but anyway, does anyone know where can I find the videos from the last courses on mongo university?
[22:45:24] <joannac> it worries me at least a little that you've never bothered looking at the mongod logs
[22:46:06] <StephenLynx> im new with server administration and its not a professional server. at least I had logs for my application so I knew the problem was that it couldn't connect to mongo :v
[22:49:00] <joannac> okay fair call, everyone's a newbie once. sorry for picking on you.
[22:50:00] <joannac> anyway, your app should be resilient enough to retry (sanely) if it can't connect. what happens if your mongod server crashes?
[22:50:12] <joannac> or if you're running a replica set and there's a re-election?
[23:20:05] <joannac> StephenLynx: looks okay. what's the timstamps for your app failing to connect?
[23:22:59] <StephenLynx> ok, im back. was fixing another problem it gave me
[23:23:17] <StephenLynx> because I changed the node installation
[23:24:17] <kenalex> is there any way of using the c# typed Update<> class to create an update statement like {"$push" : { "Keywords.$.Numbers" : "12687"}
[23:24:47] <kenalex> i can get push to work on Keywords.0.Numbers but not Keywords.$.Numbers
[23:25:14] <kenalex> using the untype Update class