(self, fieldname, prefix)
Yields (fieldname, text) tuples for every term in the index starting
        at the given prefix.
Yields (fieldname, text) tuples for every term in the index starting
        at the given prefix.
Yields ( fieldname text ) tuples for every term in the index starting at the given prefix .
def terms_from(self, fieldname, prefix):
        """Yields (fieldname, text) tuples for every term in the index starting
        at the given prefix.
        """

        # The default implementation just scans the whole list of terms
        for fname, text in self.all_terms():
            if fname < fieldname or text < prefix:
                continue
            yield (fname, text)
def terms_from ( self , fieldname , prefix ) : # The default implementation just scans the whole list of terms for fname , text in self . all_terms ( ) : if fname < fieldname or text < prefix : continue yield ( fname , text )