tornado_elasticsearch.py
def clear_scroll(self, scroll_id, params=None):
        """
        Clear the scroll request created by specifying the scroll parameter to
        search.
        `<http://www.elasticsearch.org/guide/reference/api/search/scroll/>`_

        :arg scroll_id: The scroll ID or a list of scroll IDs
        """
        if not isinstance(scroll_id, list):
            scroll_id = [scroll_id]

        body = {
            "scroll_id": scroll_id
        }

        if params and "scroll_id" in params.keys():
            params.pop("scroll_id")

        _, data = yield self.transport.perform_request('DELETE',
                                                       _make_path('_search',
                                                                  'scroll'),
                                                       body=body,
                                                       params=params)
        raise gen.Return(data)
def clear_scroll(self, scroll_id, params=None):
        """
        Clear the scroll request created by specifying the scroll parameter to
        search.
        `<http://www.elasticsearch.org/guide/reference/api/search/scroll/>`_

        :arg scroll_id: The scroll ID or a list of scroll IDs
        """
        if not isinstance(scroll_id, list):
            scroll_id = [scroll_id]

        body = {
            "scroll_id": scroll_id
        }

        if params and "scroll_id" in params.keys():
            params.pop("scroll_id")

        _, data = yield self.transport.perform_request('DELETE',
                                                       _make_path('_search',
                                                                  'scroll'),
                                                       body=body,
                                                       params=params)
        raise gen.Return(data)
def clear_scroll ( self , scroll_id , params = None ) : if not isinstance ( scroll_id , list ) : scroll_id = [ scroll_id ] body = { "scroll_id" : scroll_id } if params and "scroll_id" in params . keys ( ) : params . pop ( "scroll_id" ) _ , data = yield self . transport . perform_request ( 'DELETE' , _make_path ( '_search' , 'scroll' ) , body = body , params = params ) raise gen . Return ( data )
Clear the scroll request created by specifying the scroll parameter to
        search.
        `<http://www.elasticsearch.org/guide/reference/api/search/scroll/>`_

        :arg scroll_id: The scroll ID or a list of scroll IDs
Clear the scroll request created by specifying the scroll parameter to search . <http : // www . elasticsearch . org / guide / reference / api / search / scroll / > _