DtSearchSetMaxResults(library call) DtSearchSetMaxResults(library call)
NAMEDtSearchSetMaxResults — Set the DtSearch maximum results value
SYNOPSIS
#include <Dt/Search.h>
void DtSearchSetMaxResults(
int max);
DESCRIPTION
The results list returned from DtSearchQuery will be truncated to a
maximum number of items after search completion and statistical rank‐
ing. DtSearchSetMaxResults changes the maximum results setting to max.
If DtSearchSetMaxResults is never called, the maximum number of DtSrRe‐
sult items returned will default to 20.
The function can be called any time after DtSearchInit().
ARGUMENTS
max Specifies the maximum number of items in the list returned
from DtSearchQuery.
RELATEDDtSrAPI(3), DtSearchGetMaxResults(3), DtSearchQuery(3)
DtSearchSetMaxResults(library call)