Created text index for MongoDB.