On Thu, Mar 12, 2009 at 4:39 PM, dabboo <ag...@sapient.com> wrote: > > Hi, > > I am able to rectify that exception but now what I am looking for is : How > I > can pass the value to the date field to search for the record of a specific > date value. e.g. I want to retrieve all the records of Jan 01, 2007. How I > will pass the value with the column name. If I pass the value it throws an > exception saying that "it is expecting TO" .. >
The format for range search is your_date_field:[minDate TO maxDate] and for a normal term query it is your_date_field:the_date Each of the dates should be in the format described in the example schema.xml -- Regards, Shalin Shekhar Mangar.