sem.random() as Number
Returns a random double between 0 and 1. This XQuery function backs up the SPARQL RAND() function.
This function is a built-in.
sem.random() => 0.462153059928251
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.