variable1 and variable2 are inconsistent range indexes
Cause
A user can specify multiple range indexes in cts:values and related functions. This error occurs if all the specified range indexes do not have the same scalar type, collation, and coordinate system.
Response
All range indexes supplied to cts:values or a related function must be consistent.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.