Created
March 21, 2013 16:49
-
-
Save ableasdale/5214571 to your computer and use it in GitHub Desktop.
Fill the source database with sample content to test the process
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
(:::::::::::::: Step two - create content in source-db :::::::::::::::) | |
xquery version "1.0-ml"; | |
(: run against source-db to fill the source forest with 200K docs - may take several minutes to complete :) | |
for $i in 1 to 200000 | |
return xdmp:document-insert(concat($i,".xml"), element node {$i}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment