How to set RediSearch ON_TIMEOUT configuration in Azure Manage Redis - Encountering invalid arguments error.
When trying to create a Azure Manage Redis instance, using the below PowerShell command, it gives the error. How can we set the ON_TIMEOUT to FAIL for this? It is available in official Redis documentation, and we require this for migrating our on-prem application to cloud.
https://redis.io/docs/latest/develop/ai/search-and-query/administration/configuration/
Az.RedisEnterpriseCache.internal\New-AzRedisEnterpriseCacheDatabase : Arguments for the module 'RediSearch' are invalid. The valid values are MINPREFIX, MAXEXPANSIONS, MAXPREFIXEXPANSIONS, MAXDOCTABLESIZE, MAXSEARCHRESULTS, PARTIAL_INDEXED_DOCS, FORK_GC_CLEAN_THRESHOLD.
New-AzRedisEnterpriseCache `
-...
-Module "{ name:RedisJSON }","{name:RedisBloom }","{name:RedisTimeSeries}","{name:RediSearch,args:`"MINPREFIX 1 ON_TIMEOUT FAIL`" }" `
-...