Use of MongoSearch class