Danny, You can configure fragments in the ML admin for your database under Fragment Roots or Fragment Parents. Basically, by configuring an element as a fragment, that element is treated as its own document in ML, so document roots and fragments will behave the same.
-Will From: [email protected] [mailto:[email protected]] On Behalf Of Danny Sinang Sent: Wednesday, April 25, 2012 11:07 AM To: general Subject: [MarkLogic Dev General] Fragmentation boundary I'm reading through the docs in http://community.marklogic.com/pubs/5.0/books/performance.pdf and it says : XPath predicates that cross fragment boundaries are unsearchable (cannot use indexes). For example, if a document is fragmented at the b element, then you should make sure predicates do not cross the b boundary. Therefore, the following expression: /a/b[c="1"]/../d will run faster than the following expression: /a[b/c="1"]/d How do you determine / modify a document's fragmentation boundary ? Regards, Danny
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
