Hi Nikhil

There is nothing wrong in setting higher page size than the number of 
records into database. But requesting a larger number of results (which 
now in this case stands to 100k if it is available ) in a single request 
might cause request time out error.

Kind Regards
Abhishek Srivastav
Tata Consultancy Services
Mailto: abhishek5...@tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty.   IT Services
                        Business Solutions
                        Outsourcing
____________________________________________



From:
nikhil aggarwal <nikhil....@gmail.com>
To:
general <general@developer.marklogic.com>
Date:
08/25/2011 07:46 PM
Subject:
[MarkLogic Dev General] Suggestion Required On Search API
Sent by:
general-boun...@developer.marklogic.com



Hello


I am using search:resolve function of search API. I have to search
over database in which number of documents can range from 1 - 20,000.
I need all the documents on 1 page. So, i specified page-length as
20,000 in the query. And till now it was working fine.

However, the number of documents have been added in huge numbers
recently and the number has crossed 40,000 mark. Because number of
documents in database are expected to rise further, i want to specify
the page-length as 1,000,000. Is that the right idea to do so? Will it
have any impact on performance?
Will there be any harm in making page-length more than the actual
number of documents on the disk?

Please suggest.


Regards,
Nikhil Aggarwal
_______________________________________________
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general


=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


_______________________________________________
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to