For date range search, use <<alldate>>:[date1 T23:59:59Z TO date2
T23:59:59Z]. 

Thanks,
Sourabh

Gavin-39 wrote:
> 
> Hi,
>       Can some one tell me how I can achieve date range searches? For
> instance if I save the DOB as a solr date field how can I do a search to
> get the people,
>       1. Who are older than 30 years
>       2. Who were born in 1975
> 
> etc. Greatly appreciate your help.
> 
> Thanks,
> -- 
> Gavin Selvaratnam,
> Project Leader
> 
> hSenid Mobile Solutions
> Phone: +94-11-2446623/4 
> Fax: +94-11-2307579 
> 
> Web: http://www.hSenidMobile.com 
>  
> Make it happen
> 
> Disclaimer: This email and any files transmitted with it are confidential
> and intended solely for 
> the use of the individual or entity to which they are addressed. The
> content and opinions 
> contained in this email are not necessarily those of hSenid Software
> International. 
> If you have received this email in error please contact the sender.
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Date-Range-Search-tp15305477p21314862.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to