/alfresco/api/solr/facet-config
+
+ This will perform an update of the Facet properties. Example body to this web script:
+
+
{
"filterID" : "filter_content_size",
"facetQName" : "{http://www.alfresco.org/model/content/1.0}content.size",
@@ -25,13 +27,19 @@
],
"index" : 6, // optional
"isEnabled" : true // optional
- }
+ }
Notes:
- user must be an Admin, member of Alfresco_Search_Administrators group or a Network Admin for given network/tenant
+
+ Alternatively, you can omit the request body as shown above and include a query parameter, relativePos, which
+ will not update the facet properties but will move the facet in the ordered list by the specified distance.
+ +2 means 'down two places'. -1 means 'up one place'. An attempt to move a facet beyond the end of the sequence will
+ simply move it to the end.
]]>