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
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.
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 ?
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...
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
Have you find a solution for this?
Have you find a solution for this?
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.