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