Hello, I'd like to select documents older than 4 hours in my Solr 1.4 installation.
The query q=last_update_date:[NOW-7DAYS TO NOW-4HOURS] does not return a correct recordset. I would expect to get all documents with last_update_date in the specified range. Instead solr returns all documents that exist in the index which is not what I would expect. Last_update_date is SolrDate field. This does not work either q=last_update_date:[NOW/DAY-7DAYS TO NOW/HOUR-4HOURS] This works, but I manually had to calculate the 4 hour difference and insert solr date formated timestamp into my query (I prefer not to do that) q=last_update_date:[NOW/DAY-7DAYS TO 2010-03-31T19:40:34Z] Any ideas if I can get this to work as expected? q=last_update_date:[NOW-7DAYS TO NOW-4HOURS] Thanks! -- View this message in context: http://n3.nabble.com/selecting-documents-older-than-4-hours-tp689975p689975.html Sent from the Solr - User mailing list archive at Nabble.com.