Hello,
I was creating a solr results view, were everything seemed to be integrating great with facet block, thank you for this module that enable me doing that!

When I tried to enable views cache, i succeed to enable "Rendered output" cache and still get views to work with facet (caching:time based|0sec/1hour).
But, when I enabled query cache (caching:time based|1hour/1hour), the view looks good on main page (facet apears), but after pressing one of the facets, they dissapear.

Do you have some idea for enabling query cache while keeping the facet block functionality?
I want to prevent calling the solr query each time I want to open the search page.

Thanks, Yael

Comments

MiroslavBanov’s picture

Category: Bug report » Feature request
Issue summary: View changes
Status: Active » Closed (won't fix)

Can't be done. Facets require that a query is run, so they can be build relevant to that query. This is not an Apachesolr Views requirement. Apachesolr module is made this way.

Also, using Apachesolr Views together with facets doesn't even work reliably - just try to use it together with exposed filter handlers.