Yes but I still have to know if I should create a link or not. That will require a iterative query. But I've been experimenting, these cts:query's are so FAST that maybe that's OK :)
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Kelly Stirman Sent: Thursday, November 19, 2009 6:59 PM To: [email protected] Subject: [MarkLogic Dev General] : FreeText searching - Take Two 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" <[email protected]> Subject: RE: [MarkLogic Dev General] RE: FreeText searching - Take Two To: "General Mark Logic Developer Discussion" <[email protected]> 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 [email protected] http://xqzone.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
