I want to use the MarkLogic optic API to join two range indexes but somehow they don\'t join. Is the query I wrote wrong or can\'t I compare the indexes used?
I have