
admin:database-recurring-merge-blackout( $limit as xs:unsignedInt, $merge-priority as xs:string, $days as xs:string+, $start-time as xs:time?, $end-time as xs:time?, $duration as xs:duration? ) as element(db:merge-blackout)
This function constructs a merge-blackout specification.
xquery version "1.0-ml";
import module namespace admin = "http://marklogic.com/xdmp/admin"
at "/MarkLogic/admin.xqy";
admin:database-recurring-merge-blackout(500, "lower", "monday",
xs:time("09:45:00"), xs:time("11:45:00"), () )
(: returns the merge-blackout specification.
Use admin:save-configuration to save these changes. :)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.