[MarkLogic Dev General] Support for direct-child queries?
Sam.Mefford at marklogic.com
Fri Sep 17 10:21:22 PDT 2010
I have a need to retrieve relevance-ranked documents containing text matching in <TITLE> tags that are direct children of <INFO-OBJ> tags. I'm using cts:search to get matching documents in relevance order. Using cts:element-query I can match in TITLE tags that are descendants of INFO-OBJ tags, but I see no way to limit the matching only to direct children. Thus I'm matching TITLE tags that are children of descendant TABLE tags, rather than only match the direct-child INFO-OBJ/TITLE tags I want.
sam.mefford at marklogic.com
More information about the General