lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Muhammad Momin Rashid <mo...@abdere.com>
Subject How to filter data based on dates?
Date Fri, 12 Jun 2009 12:00:59 GMT
Hello Everyone,

I need to filter records based on whether current system date is between 
startDate and endDate of a record.  Could someone guide me on this one?

(Current Date >= startDate)
and
(endDate == null || Current Date <= endDate)

Regards,
Muhammad Momin Rashid.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message