Closed Supytalp closed 4 years ago
I created a pull request for this issue: #173
Hi, I made the same observation today and look forward to the merge. In the meantime I'm using the depreciated hash index.
Since the changes have been merged, I’ll close the issue.
I noticed that collection.ensurePersistentIndex doesn't have a 'deduplicate' argument, unlike ensureHashIndex:
This causes all the persistent indexes to be created with a default 'true' value for 'deduplicate'.
Since the persistent indexes are supposed to replace the hash ones with RocksDB, I think it would make sense to add this argument here.