Go to the source code of this file.
Functions | |
search_results () | |
matches_text ($num) | |
report_matches () | |
end_form ($value) | |
readInt ($file) | |
readString ($file) | |
readHeader ($file) | |
computeIndex ($word) | |
search ($file, $word, &$statsList) | |
combine_results ($results, &$docs) | |
filter_results ($docs, &$requiredWords, &$forbiddenWords) | |
compare_rank ($a, $b) | |
sort_results ($docs, &$sorted) | |
report_results (&$docs) | |
main () |
combine_results | ( | $ | results, | |
&$ | docs | |||
) |
compare_rank | ( | $ | a, | |
$ | b | |||
) |
Definition at line 266 of file search.php.
computeIndex | ( | $ | word | ) |
end_form | ( | $ | value | ) |
filter_results | ( | $ | docs, | |
&$ | requiredWords, | |||
&$ | forbiddenWords | |||
) |
main | ( | ) |
Definition at line 324 of file search.php.
References a, border, combine_results(), end_form(), filter_results(), readHeader(), report_results(), search(), size, and sort_results().
matches_text | ( | $ | num | ) |
Definition at line 28 of file search.php.
readHeader | ( | $ | file | ) |
readInt | ( | $ | file | ) |
readString | ( | $ | file | ) |
report_matches | ( | ) |
Definition at line 44 of file search.php.
report_results | ( | &$ | docs | ) |
search | ( | $ | file, | |
$ | word, | |||
&$ | statsList | |||
) |
Definition at line 98 of file search.php.
References computeIndex(), readInt(), and readString().
Referenced by main().
search_results | ( | ) |
Definition at line 23 of file search.php.
sort_results | ( | $ | docs, | |
&$ | sorted | |||
) |