Return-Path: Delivered-To: apmail-lucene-solr-user-archive@locus.apache.org Received: (qmail 26405 invoked from network); 6 Jan 2009 17:25:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Jan 2009 17:25:27 -0000 Received: (qmail 42755 invoked by uid 500); 6 Jan 2009 17:25:21 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 42725 invoked by uid 500); 6 Jan 2009 17:25:21 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 42714 invoked by uid 99); 6 Jan 2009 17:25:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jan 2009 09:25:21 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jan 2009 17:25:12 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LKFff-0004XS-Ag for solr-user@lucene.apache.org; Tue, 06 Jan 2009 09:24:51 -0800 Message-ID: <21314862.post@talk.nabble.com> Date: Tue, 6 Jan 2009 09:24:51 -0800 (PST) From: Sourabh1 To: solr-user@lucene.apache.org Subject: Re: Date Range Search In-Reply-To: <1202273049.15254.8.camel@bmpc132> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: sosrivas@cisco.com References: <1202273049.15254.8.camel@bmpc132> X-Virus-Checked: Checked by ClamAV on apache.org For date range search, use <>:[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.