RE: Solr date range problem - specific date problem

2010-04-29 Thread Ankit Bhatnagar
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

Solr date range problem - specific date problem

2010-04-29 Thread Hamid Vahedi
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

Re: Date range problem

2007-06-25 Thread Stu Hood
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

Re: Date range problem

2007-06-25 Thread Ryan McKinley
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

Re: Date range problem

2007-06-25 Thread Michael Kimsal
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

Date range problem

2007-06-25 Thread Stu Hood
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