SimpleDateFormat sdfStart = new SimpleDateFormat("yyyy-MM-dd'T'00:00:00'Z'");
SimpleDateFormat sdfEnd = new SimpleDateFormat("yyyy-MM-dd'T'23:59:59'Z'");
String time = "lostTime:["+sdfStart.format(new Date())+" TO "+sdfEnd.format(new Date())+"]";
solrj查询某一天的数据
最新推荐文章于 2021-08-04 14:35:24 发布