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
You can use filter query and form the date as follows when a user enters just
the year or year and month:
If just the year (1885) was entered -> date:[1885-01-01T00:00:00Z TO
1886-01-01T00:00:00Z]
If just the year and month (1885-06) were entered -> date:[1885-06-01T00:00:00Z
TO 1885-07-01T00:0