xdmp.hash32

xdmp.hash32(
   string as String
) as Number

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