Column Not Indexed: variable1
This operation can only be executed on an indexed column.
Use a regular (non-virtual) column that supports indexing.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.