[MarkLogic Dev General] CTS search: using a precise path

Jason Hunter jhunter at marklogic.com
Mon Nov 15 14:41:15 PST 2010


>> You can write the expression in XPath and it will perform as
>> well as a cts search and with the semantics you want:
> 
>> /doc[foo/bar = "one" and fooz/baz = "two"]
> 
> Thank you.  Are you suggesting that using a vanillia XPath
> expression will preform as efficient as the CTS search?

Yes.

Don't forget the need for proper indexes and settings.

-jh-



More information about the General mailing list