These are chat archives for Automattic/mongoose

Oct 2018
Hitesh Joshi
Oct 01 2018 05:08
@lineus ok I've made the index but the speed is still the same. So where is the problem any idea do you have?
Oct 01 2018 08:46
@sterjoski you could try setting justOne to false explicitly in virtual options. what version of mongoose are you using?
@evoxtorm what kind of index are you creating? how many docs are in the result of the query you are running? Have you tried adding explain to the query to see what index is being used?
Hitesh Joshi
Oct 01 2018 10:56
Yeah I've tried to make a new Index for old collection. I don't much about it and I've tried for the first time.
no I'll just try that
thanks @lineus