Loading TOC...

MarkLogic 12 EA 1 Product Documentation
xdmp.groupCacheClear

xdmp.groupCacheClear(
   groupID as (Number|String),
   cacheClearOptions as String[]
) as null

Summary

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".

Required Privileges

http://marklogic.com/xdmp/privileges/admin/

Example

xdmp.groupCacheClear(xdmp.group("Default"), ["compressed-tree-cache","expanded-tree-cache"]);

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.