Message Text
variable1 and variable2 have different range index types
Cause
A user can specify multiple values in a range query. This error occurs if all the specified values are not of the same data-type.
Response
All values supplied to a range query must be of the same data-type.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.