标签:blog java os 2014 art for
在做依据日期来检索的时候普通的格式化会出错,试了好多种仅仅有一种可行
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'"); String time = "lostTime:["+sdf.format(new Date())+" TO "+sdf.format(new Date())+"]";
Solrj日期范围查询,布布扣,bubuko.com
Solrj日期范围查询
原文地址:http://www.cnblogs.com/mengfanrong/p/3835243.html