Closed Sangeetha-Murugesan closed 2 years ago
This is actually the intended behavior as NRediSearch uses the FT.DROP command when you call DropIndex - You can just drop the index without dropping the records indexed by using the FT.DROPINDEX
command. You can call this explicitly through the RedisDatabase object you used to initialize the Client:
db.Execute("FT.DROPINDEX", "ContactInfo");
Actually, I missed out adding prefix while creating index which results in document deletion across all indexes. After adding prefix to every index, only the specific index is get deleted on ft.drop command
Hi ,