The xquery is:
for $x in collection('test')/catalog/product
where $x/@dept = 'WMN'
return $x;
I had created attribute range index on product/@dept, I would like to know
whether the query will use the range index when marklogic process it.
so i ues the xdmp:plan to get the query plan, but i only the error :
<error:code>
XDMP-UNSEARCHABLE
</error:code>
<error:name>
</error:name>
<error:xquery-version>
1.0-ml
</error:xquery-version>
<error:message>
Expression is unsearchable
</error:message>
.......
so how can i get the query plan for FWLOR query statement?
or how can i konw whether the query will use the range index when marklogic
process it?
_______________________________________________
General mailing list
[email protected]
Manage your subscription at:
http://developer.marklogic.com/mailman/listinfo/general