Sentinel configuration not implements? #2
Description
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