You can't use two fields in one range query, but you can combine two range queries:

startDate_tdt:[* TO NOW] AND endDate_tdt:[NOW TO *]

-- Jack Krupansky

-----Original Message----- From: Marcos Mendez
Sent: Wednesday, July 10, 2013 9:31 AM
To: solr-user@lucene.apache.org
Subject: simple date query

Hi,

I'm trying to do something like startDate_tdt <= NOW >= endDate_tdt. Any ideas how I can implement this in a query? I don't think the normal range query will work.

Regards,
Marcos=

Reply via email to