[MarkLogic Dev General] Fast full text search

Danny Sokolsky 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")

-Danny

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
To: general
Subject: [MarkLogic Dev General] Fast full text search

Hi,

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 ?

Regards,
Danny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20120814/765e476f/attachment.html 


More information about the General mailing list