As mentioned in the post at http://drupal.org/node/1156606#comment-4725960, there should be a filter that plugin strips items that won't narrow the result set. This is simple for flat facet trees, however it gets slightly more difficult for hierarchical facets. Top level items that might have a count equaling the result count could have multiple children that would allow further refinement of the result set. Therefore the plugin has to be more sophisticated that just checking if the item's count equals the result count.

Comments

drunken monkey’s picture

Subscribing.

cpliakas’s picture

Priority: Normal » Minor

Bumping down in priority, because someone could easily add this in contrib since Facet API now has a filter plugin system. I don't see myself getting to this in the near future, so it would be great for someone to pick this up if they want to get it into the module more quickly.

cpliakas’s picture

Component: Code » Contrib

Adding to the Contrib component, which means that I am looking for this functionality to be added outside of this module in a separate contrib.

cpliakas’s picture

Project: Facet API » Facet API Extra
Component: Contrib » Code
Priority: Minor » Normal

Moving over to Facet API Extra for consideration.

SergeyR’s picture

As mentioned here
http://drupal.org/node/1234902#comment-5456140
pure realization of such filter can prevent user to make choice of dependent facets as parent automatically became hidden
so the only case of no dependent facets can be suitable for automatical hiddening of facet block

ygerasimov’s picture

Status: Active » Fixed

Implemented d4afbdf.

cpliakas’s picture

Nice work! Excited to try this out.

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