Redis V8 Creation of new Index via Redis OM
Hi I've just found a small issue. When creating a new index targeting the latest release of Redis version 8 I get the redis client error "no such index" and it fails there.
I've tracked it to the lib/repository/repository.ts createIndex function specifically the section of code that compares the currentHash to the incoming hash when creating a new index the currentHash is always null so i just added a an in statement and made the dropIndex optional.
if (currentIndexHash !== incomingIndexHash) {
if (currentIndexHash) {
await this.dropIndex();
}
please let me know if this could be incoperated into a new release that would work with redis version 8.
same issue here
same issue here
same issue here 🐕
Same issue here, any way to work around this?
same issue.
According to https://github.com/redis-stack/redis-stack:
We will stop releasing maintainance releases of Redis Stack (6.2, 7.2, and 7.4) on December 2025.
This means redis-om-node will be considered a deprecated package in a few months if this issue is not fixed 🫤
What can we do to prevent that?