Hi All,
I'm using ML 5.0-5, and I'm trying to make a sort by properties and as the
search:search doesn't support this kind of sort, I have a code like this:
(for $result in cts:search(doc(), cts:collection-query("content"))
order by $result//property::myns:year
return $result)[1 to 20]
The myns:year element is an element-range-index, it works when the result
size is short but when there are many results I get an XDMP-EXPNTREECACHEFULL.
When the error is not thrown, the performance is quite bad.
When I use a document element (element-range-index) it works.
Is there any way to avoid the error? How could I Improve the sort
performance? Thanks
--
Atentamente
Mauricio Valderrama Fonseca
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general