The other day I was displaying tweets (stored within ML) unconstrained, unpaged in the browser. Doing so with 50.000 of them made my FireFox browser crash. J (And tweets aren’t even that big! ;-)
Kind regards, Geert *Van:* [email protected] [mailto: [email protected]] *Namens *Damon Feldman *Verzonden:* vrijdag 11 november 2011 15:21 *Aan:* mano m; General MarkLogic Developer Discussion *Onderwerp:* Re: [MarkLogic Dev General] search:search to return the entire result count Mano, search:search() is designed to avoid common problems, such as loading more documents into memory than the machine supports, so it does not return all matching documents from the entire databse regardless of size. However, you can specify the start and end values to be large enough that any reasonble data set will come back (reasonable = will be fast enough for your application response times and will fit into memory). This constraint is actually helpful in this situation because it forces you to think about "big data" problems such as how much data is too much. If your machine can only handle 2,000 documents and you want to pull back 50,000 you would then take another approach such as breaking the task up into batches. Yours, Damon ------------------------------ *From:* [email protected] [ [email protected]] On Behalf Of mano m [ [email protected]] *Sent:* Friday, November 11, 2011 6:19 AM *To:* [email protected] *Subject:* [MarkLogic Dev General] search:search to return the entire result count Hi all, In search:search by default it will return 10 results and if we specify the start , end values then specific resultset will be returned. But I want the entire search result set similar to cts:search. Please let me know is there any possibility to return the entire results. Thanks in Advance Regards, Mano
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
