FreeBSD Manual Pages
AFSORTSCORE(3) Amberfish AFSORTSCORE(3) NAME afsortscore - sort search results by score SYNOPSIS #include af.h int afsortscore(Afresult *result, int resultn); DESCRIPTION The afsortscore function sorts results returned from afsearch(3), putting documents with the highest score at the top of the list. The argument result specifies the array of results to be sorted. The argument resultn specifies the number of elements in result. RETURN VALUE This function returns 0 if it exited normally. If an error occurred, it returns -1 and aferrno is set. ERRORS This function returns only "core" errors. AFSORTSCORE(3)
NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | ERRORS
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=afsortscore&sektion=3&manpath=FreeBSD+Ports+15.0>
