DTSEARCHSETMAXRESULTS(3)
π¦ NAME π¦
DtSearchSetMaxResults β Set the DtSearch maximum results value. Manual name: library call, and yes bestie, this is a library-call page. π
β¨ SYNOPSIS β¨
#include &<Dt/Search.h>
void DtSearchSetMaxResults(
int max);
πΈ DESCRIPTION πΈ
Okay so picture this: the results list returned from DtSearchQuery gets truncated to a maximum number of items after search completion and statistical ranking. Like, ranking does its whole main-character thing first, then the list gets cut down. β¨
DtSearchSetMaxResults changes the maximum results setting to max.
If DtSearchSetMaxResults is never called, the maximum number of DtSrResult items returned defaults to 20. That's the default, periodt. π«Ά
The function can be called any time after DtSearchInit(). So after init, you're good to set it. π
π ARGUMENTS π
maxβ Specifies the maximum number of items in the list returned fromDtSearchQuery.
π₯ RELATED π₯
Source/version tag: DtSearchSetMaxResults(library call). Date: not printed on this page, so there's no date to spill β bye bestie π
π¦ where this page comes from
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms