I'd like to use a Facet block as a menu, that will be displayed on all the pages. By default, the filters are only displayed on the search pages.

I know it's possible to add search pages in the Apache Solr search configuration menu, but is there a simple way (or even a complicated one) to have one of the filter block displayed on every pages ?

Comments

nick_vh’s picture

You should be executing a query to solr on every page which becomes very heavy. An easier solution would be to kind of cache the facets that you have and save them somewhere so you can display the latest cache of the facets on every page. Also, this is more something for facetapi.

yraber’s picture

I just had a look at Facet API and it seems to be the best way to do what I want. Thank you.

nick_vh’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.