Hello,

These are all done with range queries.  They tend to look like this:

&q=add_date:[BeginDateHere TO EndDateHere]


You can use * for either BeginDateHere or EndDateHere to get the "before/after" 
effect.

"All" is just q=*:*

Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch



----- Original Message ----
> From: chem leakhina <chem.leakh...@gmail.com>
> To: solr-user@lucene.apache.org
> Sent: Wednesday, June 10, 2009 2:28:46 AM
> Subject: How to search date in Solr
> 
> Hi,
> Could you tell me how to make query to search Date in Solr with these
> conditions:
> 
> Before, After, Between, All
> 
> Could you please write some example for me?
> 
> Regards,
> LEE

Reply via email to