: a) Last Week : b) Last Month : c) Last Year : d) 2012 : e) 2011 or earlier ... : Of course, as 2013 rolls in, then the labels for the last two buckets : should change to “2013” and “2012 or earlier”. Is there any way to have : Solr return the correct year based on the current date? For example, I
first off: i don't understand how #c and #d are different -- but to answer your question, no. my suggestion would either be to use simple keys that your front end then uses to "translate" into what it displays to the user (ie: "curr_week", "curr_month", "curr_year", "last_year", "old") or just have your front end app "parse" the date math expressions itself. -Hoss