MarkLogic 10 Product Documentation
tieredstorage.partitionDeleteQuery

tieredstorage.partitionDeleteQuery(
   schema-database-id as (Number|String),
   partition-number as Number
) as null

Summary

This function deletes the query from the specified partition. It will not throw any error if query is not found.

Parameters
schema-database-id ID of the Schema database used by the database in which the partition resides.
partition-number The partition number from which to delete the query.

Example

const ts = require('/MarkLogic/tieredstorage');

ts.partitionDeleteQuery(xdmp.database('Schemas'), 1);
   
Powered by MarkLogic Server | Terms of Use | Privacy Policy