lucy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Karman <pe...@peknet.com>
Subject Re: [lucy-user] Range queries in Lucy
Date Thu, 02 Aug 2012 10:01:52 GMT
Nikola Tulechki wrote on 8/1/12 5:15 AM:
> Just a quick follow up concerning the "fixed width string" issue Peter was
> talking about. 
> 
> Note that if you work directly with unix timestamps (as I was), make sure all
> your dates are posterior to 09 sept 2001, (1000000000). Otherwise use Peter's
> solution (yyyymmdd - format)
> 

I would expect fixed-width with leading zeros to work too. E.g.:

 my $epoch_fixed = sprintf("%012d", $epoch);


-- 
Peter Karman  .  http://peknet.com/  .  peter@peknet.com

Mime
View raw message