lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira ...@odoko.co.uk>
Subject Re: Exact Date Search
Date Thu, 03 Oct 2013 10:04:53 GMT
modify_date:[* TO 2012-07-06T9:23:43Z]
modify_date:[2012-07-06T9:23:43Z TO *]


On Thu, Oct 3, 2013, at 09:18 AM, soumikghosh05 wrote:
> I have a date filed modify_date and the field value is
> 2012-08-09T11:23:43Z ,
> 2011-09-02T12:23:43Z and 2012-07-06T9:23:43Z for 3 docs.
> 
> User provided a date in the search form for an example 
> 2012-07-06T9:23:43Z.
> 
> 1. I wanted to get the doc who's modify date is matching with the user
> supplied date. 
> 2. I wanted to get the doc who's modify date is less than the user
> supplied
> date.  
> 3. I wanted to get the doc who's modify date is greater than the user
> supplied date. 
> 
> I am using solr.DateFiled as the field type.
> 
> I am very new to solr and I need the query syntax for the above 3
> queries.
> 
> Any help would be great help for me.
> 
> Thanks,
> Soumik
> 
> 
> 
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Exact-Date-Search-tp4093273.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message