[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]
    Search the FAQ Archives

Single Page

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


2.3 How do I limit the number of responses?


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). 



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 | Search | Web FAQs | Documents | RFC Index ]

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

Last Update October 13 2008 @ 00:12 AM

© 2008 FAQS.ORG. All rights reserved.