Why wouldn't two RangeQuerys work for this? Essentially something expressing
startdate[0 TO Systemtime] AND enddate[Systemtime TO infinity]?

Best
Erick


On Fri, Jun 12, 2009 at 1:00 PM, Muhammad Momin Rashid <mo...@abdere.com>wrote:

> 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-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>
>

Reply via email to