You do not have to upgrade or use strings to support this use-case,
just specify the full date format.

i.e. instead of this:
2016-01-10 TO 2016-01-21

use this:
2016-01-10T00:00:00Z TO 2016-01-21T00:00:00Z

Your performance will be much worse with string types and regexes
 than either tdate or dateRange.

Best,
Erick

On Tue, Jan 26, 2016 at 10:13 AM, vsriram30 <vsrira...@gmail.com> wrote:
> Probably, I should not have mentioned, it cannot be achieved, as still we can
> achieve that by using multiple OR queries with regex matching on that String
> field, though it doesn't look good :-)
>
> -Sriram
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Solr-partial-date-range-search-tp4253226p4253415.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to