03-08-2017 03:35 AM
Hello,
I have recently installed Alfresco Community Edition 201702 with Alfresco Search Services 1.0.0.
Alfresco works great with solr6 but how can I create facet based on categories?
In the interface Search Manager I add tag facet but I don't find categories.
I create solr-facets-config-custom.properties in tomcat/shared/classes/alfresco/extension/
#categories
custom.cm\:categories.filterID=filter_categories
custom.cm\:categories.displayName=Categories
custom.cm\:categories.displayControl=alfresco/search/FacetFilters
custom.cm\:categories.maxFilters=10
custom.cm\:categories.hitThreshold=1
custom.cm\:categories.minFilterValueLength=2
custom.cm\:categories.sortBy=INDEX
custom.cm\:categories.scope=ALL
custom.cm\:categories.scopedSites=
custom.cm\:categories.isEnabled=true
But it is incorrect it shows path.
How can I instantiate this?
Thank you.
Jonathan
03-08-2017 03:57 PM
There is no support for category-based facets in Alfresco Share. The support for category facets exists only on the API level at the moment. This has been mentioned in the release notes / list of new features.
06-22-2017 02:21 PM
Hello Axel,
There is a bunch of open JIRA tickets around that issue , no solution so far.
Even on API level, it is not that perfect: [MNT-17649] In Solr6, facet filter for cm:categories added by REST API call will filter by category ...
How could we find a valid workaround ?
06-22-2017 02:58 PM
I think you should be able to use facetting on the PATH field (and its various variants like NPATH) to do name-based facetting for categories. The main problem is that you cannot differentiate the actual path elements from the category path elements...
06-24-2017 04:57 AM
ooch, looks painful.
I don't have that skill level, will give up on using categories until they are supported for search. Solr6 is not enough.
many thanks for your point of view
02-04-2021 05:53 AM
Have you find a solution for this?
03-22-2023 09:43 AM
Have you find a solution for this?
Explore our Alfresco products with the links below. Use labels to filter content by product module.