

def most_frequent_terms(self, fieldid, number=5, prefix=''):
    "Returns the top 'number' most frequent terms in the given field as\n        a list of (frequency, text) tuples.\n        "
    return nlargest(number, ((tf, token) for (token, _, tf) in self.iter_prefix(fieldid, _)))

dataset/ETHPy150Open dokipen/whoosh/src/whoosh/reading.py IndexReader.most_frequent_terms/VarMisuse@48/104 `prefix`->`_`