The table below lists all the
configast built-in
functions (in this namespace:
).
This is the Config AST module, which is used to parse and process the Config AST JSON representation of a configuration specified using the functions of the Admin API.
Where the Config DSL provides a declaration of configuration for editing by people, the Config AST provides a declaration for generation and manipulation by scripts, tools, and APIs.
To use this module in your XQuery code,
include an import
statement similar to following line in your code:
import module namespace configast = "http://marklogic.com/config-ast-json" at "/MarkLogic/builder/config-ast-json.xqy";
Function name | Description |
---|---|
configast.apply | This function takes the Config AST representation of a server configuration for parsing and processing as a JSON object or XQuery map and applies the configuration using the functions of the Admin API. |