Message Text
Positions are not enabled on the variable1 element-attribute-pair range index for variable2/@variable3 variable2/@variable4 variable5
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.