Hi Danny,


To put it simple: don’t do that on all 88 thousand results, but only those
you want to show on a search result page. That is why search:search applies
pagination by default, quite convenient by the way, saves you from a lot of
trouble doing it yourself..



Kind regards,

Geert



*Van:* [email protected] [mailto:
[email protected]] *Namens *Danny Sinang
*Verzonden:* woensdag 25 juli 2012 19:49
*Aan:* general
*Onderwerp:* [MarkLogic Dev General] How to speed up getting child element



Hi,



I have a cts:search query that returns 88,542 results in juts 0.029 seconds.



Problem is, when I do this :



let $x := $searchResults/book



the total elapsed time jumps to 2.87 seconds.



Is there a better / faster way of doing this ?



Regards,
Danny
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to