Hi Peter, A couple questions for you.
This document that takes 40 seconds to highlight, how large is it? Have you configured a fragmentation policy?In general I would recommend using cts:search() or cts:contains() to find paragraphs in the search result that contain your keywords. Then use cts:highlight() to highlight the terms in that paragraph.
--Ryan Peter Hickman wrote:
We are using cts:highlight to, er, do it's thing with a document. We then take the highlighted document and locate the first result to build a context for displaying in the search results. The problem is that with some large documents the highlight can take quite some time (40 seconds for a large document against 0.01 second for a typical document). Given that we are not making any use of any of the highlights but the first it would be useful to have a parameter to cts:highlight that limits how many it does.Given that this parameter does not exist does anyone have a suggestion as to how we might achieve the same result? We are looking at splitting larger documents up but they might not get significantly smaller.
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
