HTTP Servers, Database, Forest
HTTP Server(Hypertext Transfer Protocol): An HTTP Server is an application server with HTTP support and XQuery support, providing a server from which you execute XQuery programs via HTTP. You can create an HTTP server through the Admin UI page of the MarkLogic server. Please refer the screenshot-1 for the same. Screenshot-1: Or, You can also create an HTTP server with the help of the admin API function, (:Import admin api:) import module namespace admin = "http://marklogic.com/xdmp/admin" at "/MarkLogic/admin.xqy"; (:Get the Config file of server:) let $config := admin:get-configuration() (: Get the Group ID file of server, if have created multiple Groups, please specify the Group name else it will be 'Default':) let $groupid := admin:group-get-id($config, "Default") (: Below is the function for creating the Server, It will take 7 parameters as mentioned below. 1. config file of Marklogic server. 2. Group ID 3. Server name which you want t