xdmp.hash32( string as String ) as Number
Returns the 32-bit hash of a string.
xdmp.hash32("/a/b[1]/c"); => 152930691
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.