def METHOD_NAME(self, name, attrs):
    """Define the beginning of a record and stores the search record."""
    self.element.append(name)
    self.content = ""
    if self.element == ["matchset"]:
        self.record = Record()
        self.record.n_match = int(attrs["n_match"])
        self.record.n_seq = int(attrs["n_seq"])
    elif self.element == ["matchset", "match"]:
        match = {}
        self.record.append(match)