[07:05:44] <daumie> getting this message "It looks like you are trying to access MongoDB over HTTP on the native driver port." using mean stack
[07:06:23] <daumie> How can I go around it ... Ubuntu 16.04 LTS
[11:28:54] <ruairi> daumie: Short answer: Don't talk HTTP to the driver port. Slightly longer answer: https://docs.mongodb.com/ecosystem/tools/http-interfaces/
[12:34:36] <daumie> ruairi: How do I implement tast?
[12:56:42] <angular_mike> I'm planning to write to a collection at aprox. rate of 100 new documents per minute. Each time to retrieve new information, I need to get the current max value of specific field(id_str) for the query to data source, like this: db.tweets.find({}, {'id_str': 1}).sort({'id_str': -1}).limit(1)
[12:57:10] <angular_mike> any additional optimizations, that should be done for this?
[12:58:27] <angular_mike> basically, I don't want the db engine to loop through all documents in the collection during sort each time, I know that the 100 newest records will have larger values than before
[12:59:45] <angular_mike> should I create and index over this field?
[13:16:13] <daumie> Trying to set up my development environment , this error has been bugging me for weeks "It looks like you are trying to access MongoDB over HTTP on the native driver port."
[15:25:19] <ruairi> daumie: You're talking HTTP to the MongoDB driver port. Don't do that. Use the actual MongoDB driver. For a MEAN stack, I imagine that would be the Node.js driver.
[22:24:41] <onis> im using the $text method in mongodb, with the score; is possibile hide this property? here the actual code: https://gist.github.com/Fen24/a47e0ed30bbf4ca0f98c70e5baabaaf3
[22:25:17] <onis> i know how hide property in mongo but score:0 seems doesn't works?
[22:29:57] <onis> is at least possibile hide that field?