Message Text
Assignment policy is not a range policy, on database: variable1
Cause
The assignment policy on the database is not a range policy.
Response
Check your database configuration and make sure it uses the range policy before calling this function.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.