MarkLogic Server 11.0 Product Documentation
clang:language-config-delete

clang:language-config-delete() as empty-sequence()

Summary

This function removes all custom language configuration from the cluster configuration files. Calling this function restarts MarkLogic Server.

Required Privileges

This function requires the custom-language-admin-write role or the following privileges:

http://marklogic.com/xdmp/privileges/custom-language-write

http://marklogic.com/xdmp/privileges/xdmp-write-cluster-config-file/languages.xml

See Also

Example

xquery version "1.0-ml";
import module namespace clang = "http://marklogic.com/xdmp/custom-language" 
		at "/MarkLogic/custom-language.xqy";

(: NOTE: This call causes a restart. :)
clang:language-config-delete()
    
Powered by MarkLogic Server | Terms of Use | Privacy Policy