spring-redisearch
spring-redisearch copied to clipboard
Sentinel configuration not implements?
Hello im Aleksey Im start using this library and not found how it configure sentinel connection with LettuSearch ?
From your configuration
@Bean(destroyMethod = "shutdown") RediSearchClient client(ClientResources clientResources) { RedisURI redisURI = RedisURI.create(redisProperties.getHost(), redisProperties.getPort()); if (redisProperties.getPassword() != null) { redisURI.setPassword(redisProperties.getPassword()); } Duration timeout = redisProperties.getTimeout(); if (timeout != null) { redisURI.setTimeout(timeout); } return RediSearchClient.create(clientResources, redisURI); }
Its work only with standalone configuration or im not understand something?) How i can connect this?
Also im using spring-boot-starter-data-redis And im need configure RediSearchClient for send query to RediSearch My RedisProperties can be different one moment its standalone and another sentinel
Sorry I missed this issue. Sentinel support was added to LettuSearch 2.4.2. Can you check this thread and see if it works for you?
Sentinel configuration is not working with lettuSearch 2.4.4 .