Re: Date truncation and time zone when searching

2014-05-21 Thread Chris Hostetter
: Try the TZ parameter on the query, as blah&TZ=GMT-4 Docs... https://cwiki.apache.org/confluence/display/solr/Working+with+Dates : There's a good discussion of why PDT is ambiguous here: : https://issues.apache.org/jira/browse/SOLR-2690. -Hoss http://www.lucidworks.com/

Re: Date truncation and time zone when searching

2014-05-21 Thread Erick Erickson
16:23 >> Till: solr-user@lucene.apache.org >> Ämne: RE: Date truncation and time zone when searching >> >> Well for CEST, which is 2 hours ahead, I would think you could just do... >> >> datefield:[* TO NOW/MONTH-2HOURS] >> >> That would give you everything

RE: Date truncation and time zone when searching

2014-05-21 Thread Michael Ryan
Well for CEST, which is 2 hours ahead, I would think you could just do... datefield:[* TO NOW/MONTH-2HOURS] That would give you everything up to 2014-04-30 22:00:00 GMT, which is 2014-05-01 00:00:00 CEST. Always always always store the correct value. -Michael -Original Message- From: