sub _update_term_score {
my ($self, %args) = @_;
# %args = (
# term => search term
# doc_id => document id
# count => number of times term was found in this document.
# )
. . .
}
####
sub _update_term_score {
my ($self, $term, $doc_id, $count) = @_;
# term -> search term
# doc_id -> document id
# count -> number of times term was found in this document.
. . .
}
####
my %hash_var = (
param1 => 'value 1',
param2 => 'value 2',
param3 => 'value 3',
);
####
my %hash_var = (
'param1' => 'value 1',
'param2' => 'value 2',
'param3' => 'value 3',
);