We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
movie
1 parent dcdf8c5 commit db054ccCopy full SHA for db054cc
src/main/java/com/redis/cache/demo/CacheConfig.java
@@ -16,7 +16,7 @@ public class CacheConfig {
16
17
@Bean
18
CacheManager cacheManager(RedisModulesClient client, MeterRegistry registry) {
19
- RedisCacheConfiguration hashConfig = RedisCacheConfiguration.defaultConfig().meterRegistry(registry)
+ RedisCacheConfiguration hashConfig = RedisCacheConfiguration.defaultConfig().indexEnabled(true).meterRegistry(registry)
20
.redisType(RedisType.HASH);
21
RedisCacheConfiguration stringConfig = RedisCacheConfiguration.defaultConfig().meterRegistry(registry)
22
.redisType(RedisType.STRING);
0 commit comments