ok, maybe don't get this right.. are you trying to match something like check-in date > 2010-10-19T00:00:00Z AND check-out date < 2010-10-21T00:00:00Z *or* check-in date = 2010-10-19T00:00:00Z AND check-out date = 2010-10-21T00:00:00Z?
On 18 October 2010 10:05, nedaha <neda...@gmail.com> wrote: > > 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 > and check-out date with some separate different days that i have in solr > index. > for example: > check-in date is: 2010-10-19T00:00:00Z > and > check-out date is: 2010-10-21T00:00:00Z > > when i want to build a query from my application i have a range date but in > solr index i have separate dates. > So how can i compare them to get the appropriate result? > -- > View this message in context: > http://lucene.472066.n3.nabble.com/query-between-two-date-tp1718566p1723752.html > Sent from the Solr - User mailing list archive at Nabble.com. >