':calls: `GET /legacy/issues/search/:owner/:repository/:state/:keyword <http://developer.github.com/v3/search/legacy>`_
:param state: "open" or "closed"
:param keyword: string
:rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.Issue.Issue`'

def legacy_search_issues(self, state, keyword):

    assert (state in ['open', 'closed']), state
    assert isinstance(keyword, (str, unicode)), keyword
    (headers, data) = self._requester.requestJsonAndCheck('GET', ((((((('/legacy/issues/search/' + self.owner.login) + '/') + self.name) + '/') + state) + '/') + urllib.quote(keyword)))
    return [github.Issue.Issue(self._requester, headers, github.Legacy.convertIssue(element), completed=False) for element in data['issues']]
