DtSearchSetMaxResults(library call) DtSearchSetMaxResults(library call)
NAME [Toc] [Back]
DtSearchSetMaxResults - Set the DtSearch maximum results value
SYNOPSIS [Toc] [Back]
#include <Dt/Search.h>
void DtSearchSetMaxResults(
int max);
DESCRIPTION [Toc] [Back]
The results list returned from DtSearchQuery will be truncated to a
maximum number of items after search completion and statistical
ranking. DtSearchSetMaxResults changes the maximum results setting to
max.
If DtSearchSetMaxResults is never called, the maximum number of
DtSrResult items returned will default to 20.
The function can be called any time after DtSearchInit().
ARGUMENTS [Toc] [Back]
max Specifies the maximum number of items in the list returned
from DtSearchQuery.
RELATED [Toc] [Back]
DtSrAPI(3), DtSearchGetMaxResults(3), DtSearchQuery(3)
- 1 - Formatted: January 24, 2005 [ Back ] |