[MarkLogic Dev General] Fast full text search
Danny.Sokolsky at marklogic.com
Tue Aug 14 09:13:39 PDT 2012
How about cts:search? Something like:
cts:search(/path/to/htmlBody, "text you are looking for")
From: general-bounces at developer.marklogic.com [mailto:general-bounces at developer.marklogic.com] On Behalf Of Danny Sinang
Sent: Tuesday, August 14, 2012 9:06 AM
Subject: [MarkLogic Dev General] Fast full text search
Our XML docs have an "htmlBody" element containing html content representing book sections.
Every now and then, I need to do a global search for some text within "htmlBody".
Doing "fn:contains" takes quite a while. Is there a faster way to do this ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the General