Created
March 21, 2013 18:15
-
-
Save ableasdale/5215319 to your computer and use it in GitHub Desktop.
Example usage for the task rebalancer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xdmp:spawn( | |
"rebalance-evacuate-forest.xqy", | |
( | |
xs:QName('FOREST'), xdmp:forest('%SOURCE FOREST%'), | |
xs:QName('INDEX'), -1, | |
xs:QName('LIMIT'), 0, | |
xs:QName('RESPAWN'), true() | |
), | |
<options xmlns="xdmp:eval"> | |
<database>{ xdmp:database("%DATABASE NAME%") }</database> | |
<root>%FILESYSTEM PATH%</root> | |
<time-limit>3600</time-limit> | |
</options> | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment