- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 110
 
Open
Labels
Description
Hi, I was setting up some collections and I'm able to create a UniqueIndex, but when I use TextScoreIndex, I get this error
MongoClient.MongoGenericErrorReply(ok: 0, errorMessage: Optional("Error in specification { name: \"email_search\", key: { email: { $meta: \"textScore\" } } } :: caused by :: Values in v:2 index key pattern cannot be of type object. Only numbers > 0, numbers < 0, and strings are allowed."), code: Optional(67), codeName: Optional("CannotCreateIndex"))
I'm using mongodb-community 8.0.8, is this a bug or something that has to be fixed?