def get_results(self, response):
        pager = response.context['pager']
        results = []
        for page_num in range(pager.paginator.num_pages):
            results.extend([item.pk for item
                            in pager.paginator.page(page_num + 1)])
        return results
Return pks of add-ons shown on search results page.
dataset/ETHPy150Open mozilla/addons-server/src/olympia/lib/es/tests/test_commands.py/TestIndexCommand.get_results