Message Text
Positions are not enabled on the variable1 element range index for variable2 variable3
Cause
User has specified "ordered" or "proximity" options on a query or lexicon function when positions are not enabled on the range index.
Response
Either enable positions on the range index or do not specify "ordered" or "proximity" options.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.