Message Text
Forest variable1 can only perform deletes
Cause
An update or insertion operation was attempted on a delete-only forest. Only read and delete operations are available on documents in a delete-only forest.
Response
Move the target document to a forest which permits update operations, or test whether or not the forest allows updates before attempting the update operation. To test the forest status, use the admin:forest-get-updates-allowed function.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.