MarkLogic 10 Product Documentation
dls functions (Retention Policy)

Retention policy functions.

7 functions
Function name Description
dls.documentPurge This function deletes all numbered versions of the specified managed document and its referenced documents, as specified by the retention policies set by dls.retentionRule .
dls.documentRetentionRules This function returns a sequence of dls:retentionRule element nodes.
dls.purge This function deletes all numbered versions of managed documents and its referenced documents (such as /foo/bar.xml_versions/1-bar.xml), as specified by the retention policy set by one or more dls.retentionRule functions.
dls.retentionRule This function creates and returns a retention rule element.
dls.retentionRuleInsert This function inserts retention rules into the database.
dls.retentionRuleRemove This function removes the specified retention rules from the database.
dls.retentionRules This function returns the specified retention rules from the database.
Powered by MarkLogic Server | Terms of Use | Privacy Policy