Re: matching on month

2012-01-05 Thread Chris Hostetter
: The query would actually look like : fq=effDate_tdt:[2011-05-01T00:00:00Z TO 2011-05-31T00:00:00Z] i think your overlooking part of the question ... Don seems to be asking how to query if the value of a date field contains a day in the month of may, regarldess of year... : >>the query would

Re: matching on month

2012-01-05 Thread Erick Erickson
The query would actually look like fq=effDate_tdt:[2011-05-01T00:00:00Z TO 2011-05-31T00:00:00Z] and you need to be a little careful with the end date, this would actually skip documents on 31 May, you'd need to do something like: fq=effDate_tdt:[2011-05-01T00:00:00Z TO 2011-05-31T23:59:59:999Z]

Re: matching on month

2012-01-05 Thread Sethi, Parampreet
Hi Don, You can try 2011-05-01T00:00:00Z TO 2011-05-30T00:00:00Z 2006-05-01T00:00:00Z TO 2006-05-30T00:00:00Z And so on. I am not sure if month query is available, probably other group members can shed more light on the same. But this can be used as quick fix. -param On 1/5/12 9:41 AM, "D