Loading TOC...

MarkLogic Server 11.0 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);
   

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