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. # ) . . . }