query between two date

2010-10-17 Thread nedaha
Hi there, At first i have to explain the situation. I have 2 fields indexed named tdm_avail1 and tdm_avail2 that are arrays of some different dates. "This is a sample doc" 2010-10-21T08:29:43Z 2010-10-22T08:29:43Z 2010-10-25T08:29:43Z 2010-10-26T08:29:43Z 2010-10-27T08:29:43Z 2010-10-19T0

Re: query between two date

2010-10-18 Thread nedaha
Thanks for your reply. I know about the solr date format!! Check-in and Check-out dates are user-friendly format that we use in our search form for system's users. and i change the format via code and then send them to solr. I want to know how can i make a query to compare a range between check-in

Re: query between two date

2010-10-18 Thread nedaha
The exact query that i want is: check-in date >= 2010-10-19T00:00:00Z AND check-out date <= 2010-10-21T00:00:00Z but because of the structure that i have to index i don't have specific start date and end date in my solr index to compare with check-in and check-out date range. I have some dates