开发者

Solr date range and specific date

I index some data include date in solr but when search for specific date, i get some record (not all record) include some record in next day for example:

http://localhost:8080/solr/select/?q=pubdate:[2010-03-25T00:00:00Z TO 2010-03-25T23:59:59Z]&start=0&rows=10&indent=on&sort=pubdate desc

I have 625000 record in 2010-03-25 but above query result return 325412 that include 14 record fr开发者_JS百科om 2010-03-26.

Also I try with below query, but not get right result

http://localhost:8080/solr/select/?q=pubdate:"2010-03-25T00:00:00Z"&start=0&rows=10&indent=on&sort=pubdate
desc

How to get right result for specific date?

Could you please help me?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜