Package org.elasticsearch.action.search

Examples of org.elasticsearch.action.search.ClearScrollRequest


        String scrollIds = request.param("scroll_id");
        if (scrollIds == null) {
            scrollIds = RestActions.getRestContent(request).toUtf8();
        }

        ClearScrollRequest clearRequest = new ClearScrollRequest();
        clearRequest.setScrollIds(Arrays.asList(splitScrollIds(scrollIds)));
        client.clearScroll(clearRequest, new RestStatusToXContentListener<ClearScrollResponse>(channel));
    }
View Full Code Here

TOP

Related Classes of org.elasticsearch.action.search.ClearScrollRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.