xdmp:group-cache-clear( $groupID as xs:unsignedLong, $cacheClearOptions as xs:string* ) as empty-sequence()
Clears specified caches for the target group. This does not affect busy entries.
Parameters | |
---|---|
groupID | a group id. |
cacheClearOptions | The type of caches that needs to be cleared. Supporting cache types are "compressed-tree-cache", "expanded-tree-cache", and "list-cache". |
http://marklogic.com/xdmp/privileges/admin/
xdmp:group-cache-clear(xdmp:group("Default"), ("compressed-tree-cache","expanded-tree-cache"))