PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Sunday the 30th of August, 2015

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[03:20:46] <crag> exit
[14:24:56] <jdawgaz> upgraded from old ruby mongo to newer 2.0.6, and am having some problems with the collection.find
[16:00:52] <jdawgaz> in ruby, I used to do a collection.find, to get a document, then change the document, then do an update of the entire document. how do I do that now in ruby mongo 2.0.6?
[16:01:12] <zacharypch> Hi - I am running a text search query with $text on 3.0.6. I need to query against a long list of words, which have embedded phrases. When I search the list of words without the \"\" phrases, i get over 100k results. When I add back the \"\" for phrases, I get 0 quickly.
[16:02:58] <zacharypch> hm I just found here http://docs.mongodb.org/manual/reference/operator/query/text/#phrases, that phrases are ANDed with the rest of the string
[16:04:05] <zacharypch> anyone know how to do OR with phrases in text searches?
[16:22:27] <jdawgaz> ping
[16:22:57] <jdawgaz> in the old ruby gem, I used to do a collection.find, to get a document, then change the document, then do an update of the entire document. how do I do that now in ruby mongo 2.0.6?
[18:10:22] <notaboyimaboi> I am running db.myjobs.find({"randomThing.randomDate":{$gt:XdaysFromNow}}).sort({"randomThing.randomDate":1}).skip(100998).limit(18) on the mongo shell and it says memory overflow.
[18:10:30] <notaboyimaboi> but when the skip is lower. It works.
[18:10:42] <notaboyimaboi> I have an index on randomThing.randomDate
[18:11:35] <notaboyimaboi> it gives me this error only, when the skip is a big number. I am actually starting out with mongo, so sorry if this is a bit of a noob question.
[18:18:12] <notaboyimaboi> What I can't understand really is, when I say, skip(10) and do an explain() on it. It shows limitAmount under winning plan as 10. But if I say skip(1000000) and do an explain() it says the limitAmount is 1000000. But in my limit its set as 18 in both situations.
[19:14:11] <jdawgaz> ok. I had a lot of trouble reconciling 2.0.6 with the documentation for 2.1.0rc, so I figured out how to install that latest gem. and I am able to make it work now.
[22:53:04] <energizer> Hello, I'm failing to upgrade MongoDB to 3.0. "No package mongodb-org available". Can I get any help?
[23:43:22] <joannac> energizer: what OS?
[23:43:35] <energizer> joannac: fedora 22
[23:45:58] <joannac> energizer: I didn't think there were packages for fedora...
[23:46:31] <energizer> joannac: i'm running 2.6.9, hoping to upgrade to 3.0.
[23:46:52] <energizer> and i see this in koji http://koji.fedoraproject.org/koji/packageinfo?packageID=10883
[23:48:47] <joannac> I guess try the RHEL packages?