

def score(self):
    docnum = self.postreader.id
    weight = self.value_as('weight')
    return self.score_fn(docnum, weight)

dataset/ETHPy150Open dokipen/whoosh/src/whoosh/query.py Term.TermScorer.score/original