Closed tcastelli closed 7 years ago
I'm not sure if that's the preferred way of handling things. I think people should explicitely configure their collections to have no index, so that easy-search then can create those. Otherwise this library might delete indexes that are needed as they are right now.
I have run into this problem when trying to change the mongotext index fields. Would it be possible to automatically drop the previous text index before creating the new one(or disabling it's creation?) #393 (Since we don't know the previous index name I guess we need to loop through indexes with collection._getIndexes() and check which one has the text type)