#Redis search eviction on azure

7 messages · Page 1 of 1 (latest)

wintry parcel
#

Hello,
I have redis search on azure, but I'm not sure what the eviction policy is by default as it does not let me choose.
Whatever the policy is used, if the redis search instance runs out of memory I assume it will delete older objects either way.

Please clarify

deep tartan
#

@wintry parcel According to Azure Managed Redis' documentation for using RediSearch no eviction policy must be set:

Important
The RediSearch module requires use of the Enterprise clustering policy and the NoEviction eviction policy. For more information, see Clustering.

https://learn.microsoft.com/en-us/azure/redis/redis-modules

#

You can confirm this by running CONFIG GET maxmemory-policy on redis-cli or the workbench inside of Redis Insight

wintry parcel
#

not much other information

deep tartan
formal basalt
#

The NoEviction eviciton policy means that it won't delete keys when Redis gets full. Instead, you're get an error from Redis stating that it is full.