Category "mongodb-indexes"

MongoDb - WildCard $search slow issue - realm query

I have a MongoDB collection with almost 200.000 documents. Inside each document, I have a "Localizations" object containing the "Keywords" field. Contains data

MongoDB optimize indexes for aggregation

I have an aggregate on a collection with about 1.6M of registers. That consult is a simple example of other more complex, but illustrate the poor optimization o

How can I use partialFilterExpression on a mongoose model

I have created a mongoose model that has an email field. I want it to be unique if a value is provided by a user but I want it to be empty is a user has not pro