I have collection in MongoDB and I'm trying to generate text indexes using Spring annotations (@TextIndexed). I'm not creating database on application start, it's already created.
Problem is - indexes are not being added to my database.
Does annotation work only when you creating database after starting application?
Thanks.
Spring v. 4.3.2 MongoDB v. 4.0.1