Re: [MarkLogic Dev General] fragments filter large difference

2018-05-24 Thread Geert Josten
06 PM To: "general@developer.marklogic.com" <general@developer.marklogic.com> Subject: [MarkLogic Dev General] fragments filter large difference collection($mycollection)/myelem[.//myA[@myattr="myval"]//myB="val"] vs collection($mycollection)[./myelem//myA[@myattr="

[MarkLogic Dev General] fragments filter large difference

2018-05-23 Thread Paul M
collection($mycollection)/myelem[.//myA[@myattr="myval"]//myB="val"]vscollection($mycollection)[./myelem//myA[@myattr="myval"]//myB="val"] The first iteration performs markedly better than the second.The second attempts to filter a million + fragments. xdmp:query-trace shows only two constraints