[15:52:36] <ishanjain28> I had a question related to large scale database backups...
[15:53:32] <ishanjain28> I am working on a system that handle 5000 requests every second. The database is around 23 GB. It takes sometime to create a backup using mongodump.
[15:53:41] <ishanjain28> The server is written in go.
[16:41:47] <MacWinner> i'm trying to reproduce the most basic case of Socket timeout error on a connection using mongodb + nodejs (so that I can fiddle with the socket timeout settings to see how it actually works). We are seeing some socket timeout errors in the logs in production, but I can't reproduce them easily
[16:42:01] <MacWinner> any tips or pointers appreciated
[19:26:20] <fakingfantastic> I’m new to mongo, can someone explain to me when when I do {$text: {$search: “AR-1300”}}, I get results that don’t include that exact string in my indexed data?
[19:26:52] <fakingfantastic> But things that also in include “AR”, and “1300”, and “Axxxxx Rxxxxx"
[19:27:56] <fakingfantastic> I also get nothing under queryPlanner.terms when I use explain(true)
[19:28:47] <kexmex> what are you trying to do btw, trying to use regexp?
[19:36:15] <fakingfantastic> kexmex: yeah, I tried escaping it - no difference. Im searching users: I made an index of each user’s full name and a unique ID. Just trying to search the user by that ID
[19:36:32] <kexmex> ok so you need an exact patch right
[19:38:35] <kexmex> if you are searching by User_ID, then you should have it first the index
[19:38:40] <fakingfantastic> I read you need to index to do full text search: https://code.tutsplus.com/tutorials/full-text-search-in-mongodb--cms-24835
[19:38:42] <kexmex> otherwise you'll always need a full name
[19:38:50] <kexmex> are you doing a full text search?
[19:39:08] <kexmex> what are you trying to do ? :)
[19:39:21] <fakingfantastic> The reason is, I’m making a search API endpoint, and I just want the user to be able to do /users/search?q=Some Name, or /users/search?q=AR-1300
[19:39:49] <kexmex> i don't think you need full text search here
[19:40:07] <kexmex> you are just trying to lookup a user by either name or id