Returns the :class:`DocField` field for the given name

def get_field(self, name):
        """ Returns the :class:`DocField` field for the given name
        """
        try:
            return dict.__getitem__(self, name)
        except KeyError as err:
            raise SchemaError("'%s' is not a document field (existing attributes are: %s)" % (err, list(self)))