Module org.elasticsearch.server
Package org.elasticsearch.action.search
Class SearchScrollRequestBuilder
java.lang.Object
org.elasticsearch.action.ActionRequestBuilder<SearchScrollRequest,SearchResponse>
org.elasticsearch.action.search.SearchScrollRequestBuilder
- All Implemented Interfaces:
RequestBuilder<SearchScrollRequest,
SearchResponse>
public class SearchScrollRequestBuilder
extends ActionRequestBuilder<SearchScrollRequest,SearchResponse>
A search scroll action request builder.
-
Field Summary
Fields inherited from class org.elasticsearch.action.ActionRequestBuilder
action, client, request
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionIf set, will enable scrolling of the search request for the specified timeout.If set, will enable scrolling of the search request for the specified timeout.If set, will enable scrolling of the search request.setScrollId
(String scrollId) The scroll id to use to continue scrolling.
-
Constructor Details
-
SearchScrollRequestBuilder
-
SearchScrollRequestBuilder
-
-
Method Details
-
setScrollId
The scroll id to use to continue scrolling. -
setScroll
If set, will enable scrolling of the search request. -
setScroll
If set, will enable scrolling of the search request for the specified timeout. -
setScroll
If set, will enable scrolling of the search request for the specified timeout.
-