MarkLogic 9 Product Documentation
xdmp:hash32

xdmp:hash32(
   $string as xs:string
) as xs:unsignedInt

Summary

Returns the 32-bit hash of a string.

Parameters
string The string to be hashed.

Example

xdmp:hash32("/a/b[1]/c")
=> 152930691
Powered by MarkLogic Server | Terms of Use | Privacy Policy