tieredstorage.partitionNumberForests( database-id as (Number|String), partition-number as (Number|String) ) as Sequence
This function returns the IDs of the forests with the specified partition-number in the named database.
Parameters | |
---|---|
database-id | ID of the database in which the partition resides. |
partition-number | The partition number from which to return the forest IDs. |
// Returns the IDs of the forests in the number 1 partition in the // 'Documents' database. const ts = require('/MarkLogic/tieredstorage'); ts.partitionNumberForests(xdmp.database('Documents'), 1);
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.