Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z
faqs.org - Internet FAQ Archives

ph (cso nameserver) Frequently Asked Questions (FAQ)
Section - 2.3 How do I limit the number of responses?

( Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Schools ]


Top Document: ph (cso nameserver) Frequently Asked Questions (FAQ)
Previous Document: 2.2 How do I do searches using strings with blanks in them?
Next Document: 2.4 Ph is working fine for some entries, but returns "No matches
See reader questions & answers on this topic! - Help others by sharing your knowledge
To limit the number of responses returned, you need to do two things:

1. When compiling the server, set the "person limit", in the file
qi/configs/defaults.  Look for the line: 

"PersonLimit","100",                  # max # of people to return

and set the value (100 in this example) to the desired number of entries.

2. For all records you want to limit, you must set the "type" field to
"person", or "p".  When you are building the database, just include data
for the type field (field 4) with each person's entry (see the example in
section 1.3). 

User Contributions:

Comment about this article, ask questions, or add new information about this topic:




Top Document: ph (cso nameserver) Frequently Asked Questions (FAQ)
Previous Document: 2.2 How do I do searches using strings with blanks in them?
Next Document: 2.4 Ph is working fine for some entries, but returns "No matches

Single Page

[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
noel@camelcity.com (PH FAQ Coordinators)





Last Update March 27 2014 @ 02:12 PM