code: def get_search_result(self, ddoc_id, index_name, **query_params):
          ddoc = DesignDocument(self, ddoc_id)
          return self._get_search_result(
              '/'.join((ddoc.document_url, '_search', index_name)),
              **query_params
          )