I am using apache solr search with my drupal 6 website and seek a modification in the facets being displayed.
Instead of the yearly facets like this:
to somewhat like this:
last hour
last 24 hours
last week
last month
last year
I found http://searchhub.org/dev/2012/02/23/date-math-now-and-filter-queries/ saying that i can use fq=date:[NOW/DAY-7DAYS TO NOW/DAY+1DAY] in a custom module of my own to do this.
I tried this in my own module and figured out that its the $fq variable of apachesolr.module that should be overriden to achieve this.
I dont think I was able to use it successfully.
Can someone please tell me the exact function and variable to override.