Hi Judie, Is it necessary to always highlight the entire document? Highlighting has to be done at execution time, you cannot pre-calculate it. The easiest way to make it faster is to make sure there is less to highlight at each request-response round-trip. You normally do that by applying pagination, but in your case it sounds like you should consider chopping your document into smaller parts, and not show them all at the same time in each search response.
Kind regards, Geert Van: [email protected] [mailto:[email protected]] Namens judie pearline Verzonden: donderdag 17 februari 2011 8:05 Aan: Mark Logic Onderwerp: [MarkLogic Dev General] cts:highlight for large document Hi all, In our applicatiion the size of the document is very large, hence the cts:highlight query takes almost 20 seconds to execute. Is there any way to reduce the execution time? Regards, Judie
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
