Feature #35101
Option to hide values from a facette
| Status: | New | Start date: | 2012-03-21 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | Frontend Plugins | |||
| Target version: | - | |||
| TYPO3 Version: | Has patch: | |||
| PHP Version: | Tags: | |||
| Votes: | 0 |
Description
Currently it seems not to be possible to hide single values from a facette.
History
Updated by Ingo Renner about 1 year ago
could you be a bit more explicit please? :)
Updated by Stefan Galinski about 1 year ago
Let's assume you have a dynamic field that categorizes pages by product group. Some pages don't have a product group and get "none" as assigned value. In the search interface we want to be able to show this product groups as a facette for filtering purposes, but the "none" option shouldn't be shown as they shouldn't be shown at all. Having this none option could be very useful if you e.g. want to boost or filter the pages based on this field value.
Updated by Stefan Galinski about 1 year ago
I attached a screenshot that also demonstrates the described case above here:
http://forge.typo3.org/issues/35100#change-108235
Updated by Ingo Renner about 1 year ago
simply do not assign the "none" option and do not create the field for those pages.
Updated by Ingo Renner about 1 year ago
... the field is then considered "empty" for that document and there are possibilities to handle empty field values ... but, those are not implemented yet.
However, that should give you a hint for the direction to look into. The Apache Solr wiki likely has some info on empty fields.
Updated by Ingo Renner about 1 year ago
correction: the fields are not called "empty" but "missing"