Hi, regarding the scripting of a ML environment, I've looked at the sample scripts here, for example:
http://docs.marklogic.com/guide/admin-api/SampleProgram#id_84776 I am curious as to why the admin:appserver-exists function was not used, but a workaround using admin:get-appserver-ids($config) to retrieve a sequence of existing app servers? Performance reasons? This particular admin function wasn't available at the time these scripts were written? Any reason I should not do the following? let $config := if (admin:appserver-exists($config, $groupid, $public-server-name)) then $config else admin:http-server-create( $config, $groupid, $public-server-name, $root-path, 30001, "file-system", $database ) cheers, Jakob. _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
