Message Text
Range index error: variable1 variable2: exception_stack
Cause
User inserted a document where certain data doesn't match the data-type of the corresponding range index. Also user didn't set the invalid-values option in the range index configuration.
Response
Either change the data-type of the index or data. If both of those cannot be changed and you still want to insert the data, set the invalid-values option in the index configuration.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.