[00:13:17] <Guest24> oh I just added that after it was already slow
[00:13:23] <Guest24> it doesn't even get called I'm pretty sure
[00:13:36] <Guest24> query without explain times out
[00:13:47] <Guest24> there's 1.5 million records in total so it's a pretty big query
[00:13:58] <StephenLynx> yeah, but if its indexed, it shouldn`t be an issue.
[00:14:08] <StephenLynx> I am 95% sure there`s some mistake on your side.
[00:14:16] <Guest24> yeah, I hope so, I just can't see what it is
[00:14:30] <StephenLynx> are you on the same db when you check those indexes?
[00:14:36] <StephenLynx> are they on the right collection?
[00:14:41] <StephenLynx> what`s your mongodb version?
[00:16:25] <Guest24> could it be they are all "background" indexes?
[00:16:40] <StephenLynx> how did you create those indexes?
[00:16:43] <Guest24> I couldn't actually delete the last index
[00:16:44] <Guest24> "errmsg" : "cannot perform operation: a background operation is currently running for collection paragon.matches",
[00:16:47] <StephenLynx> I don`t even know that setting.
[08:13:41] <mpajor> I am really trying to get started with python/Flask and mongodb.
[08:14:11] <mpajor> I am however having major issues doing a simple task, returnin a json response of db.<collection>.find({}) in python. It returns an object and not json as wanted.
[08:14:41] <mpajor> I've looked at jsonify() but I cannot get anything to work because the _id object seems to cause issues.
[08:18:07] <mpajor> figured it out, had to create a function to convert mongodb objects to json using: return json.dumps(data, default=json_util.default)