Checking the way to implement index in mongodb