Re: Using the date field for searching

2015-08-11 Thread Scott Derrick
Sagar, thanks, Scott Original Message Subject: Re: Using the date field for searching From: Bade, Vidya (Sagar) To: solr-user@lucene.apache.org Date: 08/11/2015 03:05 PM You can use filter query and form the date as follows when a user enters just the year or year and

RE: Using the date field for searching

2015-08-11 Thread Bade, Vidya (Sagar)
: solr-user@lucene.apache.org Subject: Using the date field for searching If I query date:1885 I get an error org.apache.solr.common.SolrException: Invalid Date String:'1885' If I query date:1885* I get no results. and yet there are numerous docs with a year of 1885 in the date strin

Using the date field for searching

2015-08-11 Thread Scott Derrick
If I query date:1885 I get an error org.apache.solr.common.SolrException: Invalid Date String:'1885' If I query date:1885* I get no results. and yet there are numerous docs with a year of 1885 in the date string, like so 1885-02-08T00:00:00Z if I query date:1885-02-08T00:00:00Z I get 9 r