solr query changed for dates