Re: How to search date

2009-06-10 Thread Mat Brown
Assuming the date is 2009-01-01 00:00:00 UTC... Before: my_date:[* TO 2009-01-01T00:00:00Z] After: my_date:[2009-01-01T00:00:00Z TO *] Between: my_date:[2009-01-01T00:00:00Z TO 2010-01-01T00:00:00Z] All: my_date:[* TO *] (or just don't put a date at all) Mat On Wed, Jun 10, 2009 at 02:27, chem l

Re: How to search date in Solr

2009-06-09 Thread chem leakhina
Thanks Otis On Wed, Jun 10, 2009 at 1:32 PM, Otis Gospodnetic < otis_gospodne...@yahoo.com> wrote: > > 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

Re: How to search date in Solr

2009-06-09 Thread Otis Gospodnetic
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 - Nutc