def scorer(self, searcher, exclude_docs=None):
        fieldnum = searcher.fieldname_to_num(self.fieldname)
        text = self.text
        boost = self.boost
        score_methd = searcher.weighting.score
        
        def score_fn(docnum, weight):
            return score_methd(searcher, fieldnum, text, docnum, weight) / boost
        
        try:
            postreader = searcher.postings(fieldnum, text, exclude_docs=exclude_docs)
            return Term.TermScorer(postreader, score_fn)
        except TermNotFound:
            return EmptyScorer()
dataset/ETHPy150Open dokipen/whoosh/src/whoosh/query.py/Term.scorer/operator `*` -> `/`