Solr date range problem - specific date problem
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:59
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
Ok, the full time format works fine (and quickly too). Thanks for the quick answers!Stu-Original Message-From: Ryan McKinley <[EMAIL PROTECTED]>Sent: Mon, June 25, 2007 1:19 pmTo: solr-user@lucene.apache.orgSubject: Re: Date range problemthe solr date format is a bit more strict (ISO 8601)y
the solr date format is a bit more strict (ISO 8601)
-MM-dd'T'HH:mm:ss.SSS
there is talk of a more lienent date parser, but nothing exists yet..
The format you suggest would be ok if you index your dates as a string
'20070101' and then use a range query.
Stu Hood wrote:
Hello,
Searc
I've only been able to get date/time stuff to work when the entire full
date/time format is used
2007-05-30T12:34:56Z
Or is there a + in there too?
On 6/25/07, Stu Hood <[EMAIL PROTECTED]> wrote:
Hello,
Searching by date ranges doesn't seem to work in the example Solr install.
A query li
Hello,Searching by date ranges doesn't seem to work in the example Solr install. A query like `timestamp:[20070101 TO 20080101]` returns: message Invalid Date String:'20070101'description The request sent by the client was syntactically incorrect (Invalid Date String:'20070101').That query should b