Hi all.

I'm building search environment using apache solr integration and this module. In default solr search, "post date" filter is available. It shows only existing post date as facets. Let's say, if we have posted our articles since last year, the filter shows only "2011" and "2012."

I need a such filter for date type field in my content type. But I couldn't find a way to create such a dynamic filter in Views UI. If it is possible to create such filter with this module, could you tell me the way or point other useful resources? Or should I write some php code?

I read the following discussion. At the last post this feature seems to be assigned Facet API module, but it did not work for me.

date facet for cck field | drupal.org

Here is my environment.

  • Drupal core 6.24
  • Apache Solr Facet Builder 6.x-1.x-dev
  • Apache Solr Search Integration 6.x-1.6
  • Content Construction Kit (CCK) 6.x-2.9

Thank you in advance!