def full_search(self):
        accepted_params = ('from', 'size')
        kwargs = {k: self.config[k] for k in accepted_params if self.config[k]}
        try:
            result = self.client.search(index=self.config.index,
                                        body=self.config.body, **kwargs)
        except elasticsearch.ElasticsearchException as e:
            logger.error(e.message)
            sys.exit(2)

        self._pp_exit(result)
get list of available packages
dataset/ETHPy150Open StackStorm/st2contrib/packs/elasticsearch/actions/search.py/SearchRunner.full_search--crossover with--dataset/ETHPy150Open saltstack/salt/salt/cloud/clouds/joyent.py/avail_sizes