redis / redis-om-node

Object mapping, and more, for Redis and Node.js. Written in TypeScript.
MIT License
1.14k stars 77 forks source link

Temporary index #237

Open melkior opened 1 month ago

melkior commented 1 month ago

Hi,

is there a way to create temporary index with redis-om module?

Temp indexes are useful because they are lightweight and even useful with endless timeout.

guyroyse commented 1 month ago

I think I answered this on another platform. But for posterity, there is a .dropIndex function on Repository that you can call to remove an index when you are done with it.