xdmp:cluster-effective-version() as xs:unsingedLong
Returns the current MarkLogic Server effective version.
xdmp:cluster-effective-version() => 8000400