http://www.lucidimagination.com/search/document/1f33fb9f68edee4c/date_range_query_where_doc_has_more_than_one_date_field

+launchDate:[* TO NOW/DAY] +expireDate:[NOW/DAY TO *]


: I am using solr 3.3 and solrJ. I have two date fields launch_date and
: expiry_date. Now i want to be able to do a search for products that have not
: expired. So basically i want to select products with launch_date < today AND
: expiry_date > Today. Any pointers on how i can formulate such a query to
: Solr?
: 
: Thanks.
: 

-Hoss

Reply via email to