Created
March 29, 2016 18:02
-
-
Save ableasdale/608ef6265709b2c25ed0d60a599544e6 to your computer and use it in GitHub Desktop.
MarkLogic: Adding Posting Positions
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
xquery version "1.0-ml"; | |
import module namespace admin = "http://marklogic.com/xdmp/admin" at "/MarkLogic/admin.xqy"; | |
declare variable $config := admin:get-configuration(); | |
let $config := admin:group-add-trace-event($config, admin:group-get-id($config, "Default"), | |
( | |
admin:group-trace-event("Posting Positions 2X") | |
) | |
) | |
return admin:save-configuration($config) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment