Hello Judie, Since you need the first ten documents from each search why can't you try to use cts:uris() with the same search paramaters and then fn:doc() the first 10 from each result set. they must still be the same that the cts:search returned and it must be a lot faster. Thanks and Regards, Sai.
--- On Fri, 4/1/11, judie pearline <[email protected]> wrote: From: judie pearline <[email protected]> Subject: [MarkLogic Dev General] Performance improvement To: "Mark Logic" <[email protected]> Date: Friday, April 1, 2011, 6:23 AM Hi all, I have a scenario that needs to be resolved. Currently we have a 10 search queries which searches in 10 different collection. The result will be displayed by picking top ten results from each search results. Is there any option to run all the searches in parallel. Or any other ways to improve the performance of the search. Since the current sequential search takes almost 6 minutes and we are using the cts:search. Regards, Judy -----Inline Attachment Follows----- _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
