David - that's why I suggested that your links point to a module that issues requests to fetch the most relevant document instead of providing a direct link. No sense in doing the work unless absolutely necessary. :)
Kelly Message: 1 Date: Thu, 19 Nov 2009 13:16:40 -0800 From: "Lee, David" <d...@epocrates.com> Subject: RE: [MarkLogic Dev General] RE: FreeText searching - Take Two To: "General Mark Logic Developer Discussion" <general@developer.marklogic.com> Message-ID: <dd37f70d78609d4e9587d473fc61e0a713fc1...@postoffice> Content-Type: text/plain; charset="us-ascii" Thank you kelly. Yes I was missing $cts:queries But if I am reading this right, it doesnt fundamentally change the problem or solution. The problem being that I have to iteratively query for each potential matched term in order to generate a link for it. In this case the iteration is done inside cts:highlight but its exactly the same as if I were to tokenize the text (which I'd have to do to generate the list of search terms) and do a cts:search on each term, then call hilight. This is OK in that the case I need to do this, there may be 5-10 searchable terms so it should run pretty quickly. I was just hoping for a way that avoided iteratively searching, which seems to be a ML performance hit that great steps are taken to avoid. _______________________________________________ General mailing list General@developer.marklogic.com http://xqzone.com/mailman/listinfo/general