[英]Not able to retrieve the Date and Time fields data from redis DB by using RediSearch
我们在 Spring Boot 应用程序中使用 RediSearch (io.rediseach.client.Cleint) 从 redis DB 获取记录。 我们无法获取日期和时间列值(例如:日期为 07/21/2021,时间为 09:12)并且其他列已正确检索。 你能帮我解决这个问题吗?我们需要在搜索查询中添加什么吗?)
以下是参考代码
private final Client client; Query q = new Query("@columnName:"+columnValue); ex: Query q = new Query("@empName:"+raju); SearchResult result = client.search(q);
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.