Greetings.Three documents, A, B, C. Each contains two elements, elemZ, elemX. Both elements have range index. Could the below be found with index only? A elemZ=35elemX=35 B elemZ=36elemX=30 C elemZ=20elemX=35 Q1. All docs that have elemZ >= 30 elem range query with (elemZ, ">=", 30) will return doc A and doc B Q2. All docs that have elemZ > 30 AND elemZ != elemX.Current solutionelem range query >= thirty using index then for loop to look in doc to see elemZ does not equal elemXAny way not looking in doc?
Q3. All docs that have elemZ != elemXCould this be solved using indices?
_______________________________________________ General mailing list [email protected] Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
