When I do a search a list, the available facets are appropriate for the results, but when selecting a facet to refine the results futher the list of facets don’t change, this means that it is possible to select anther facet that will return no results, which seems undesirable.
Is this expected behavior? or am I missing something.
Checkbox facets as implemented in the GitHub code have a few limitations and unfortunately combinations that result in zero results is one of them so yes this is expected and is a side effect for how the facets are produced. This isn’t the case with the standard single select facets.
The other limitations when using checkbox facets include:
You don’t get counts for the categories
You don’t have the ability to have sub-categories/facets
The categories are always ORed within a facet and ANDed across facets.
You shouldn’t use checkbox facets with gscope type categories.
Unfortunately it’s not possible with how the checkbox facets work - the available categories are based on what categories are returned for the query when no facet constraints are applied.
If you’re limited to a single facet it’s not a problem, but there’s no real way of accounting for all the different combinations with other facets that can occur when the conditions are ANDed together.
@georgina Yes in the next release both ANDed and ORed multi select facets are supported out of the box, including support for counts. You could not display a link for values with zero result counts, or not display the value at all.
Do you mean “in another multi-select values”, ie are the values available in the multi select facet, ones that are available with other facet constraints are applied. Currently no, that is why you would have to filter out values with a count of zero client side.
Perhaps it would make sense to have an option to do this server side.
Hi, I will find out (the project manager is on leave), I think it will be more than a month away.
Is the website that you are implementing checkbox facets on public? If so can I crawl it? I would like to try out checkbox facets on more real world data.