How to add a category filter to the search manager?

cancel
Showing results for 
Search instead for 
Did you mean: 
nettania
Active Member II

How to add a category filter to the search manager?

I want do add a category filter to the search manager. Therefore this is not possbile via the UI I created a solr-facets-config-custom.properties file and added the following lines to it:

default.cm\:category.filterID=filter_category
default.cm\:category.displayName=Kategorie
default.cm\:category.displayControl=alfresco/search/FacetFilters
default.cm\:category.maxFilters=5
default.cm\:category.hitThreshold=0
default.cm\:category.minFilterValueLength=2
default.cm\:category.sortBy=ALPHABETICALLY
default.cm\:category.scope=ALL
default.cm\:category.scopedSites=
default.cm\:category.isEnabled=true

However this is not working. Can someone give me a hint how I can achive this?

Thanks,

Florian

3 Replies
4535992
Senior Member

Re: How to add a category filter to the search manager?

Find a solution?

EddieMay
Community Manager
Community Manager

Re: How to add a category filter to the search manager?

Hi @4535992 

There's an approach outlined here.

HTH

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!
4535992
Senior Member

Re: How to add a category filter to the search manager?

Ty for the response, i have asked in that thread too XD.

I still try to found the code to replicate the "Tag" and "Site" feature.

Any help is more than welcome.