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 | |||
) |
computeIndex | ( | $ | word | ) |
end_form | ( | $ | value | ) |
filter_results | ( | $ | docs, | |
&$ | requiredWords, | |||
&$ | forbiddenWords | |||
) |
main | ( | void | ) |
matches_text | ( | $ | num | ) |
readHeader | ( | $ | file | ) |
readInt | ( | $ | file | ) |
readString | ( | $ | file | ) |
report_matches | ( | ) |
report_results | ( | &$ | docs | ) |
search | ( | $ | file, | |
$ | word, | |||
&$ | statsList | |||
) |
search_results | ( | ) |
sort_results | ( | $ | docs, | |
&$ | sorted | |||
) |