Class EsScrollResult

java.lang.Object
org.nuxeo.elasticsearch.api.EsResult
org.nuxeo.elasticsearch.api.EsScrollResult

public class EsScrollResult extends EsResult
Wrapper for the results of a scrollable search request.
Since:
8.3
See Also:
  • Field Details

    • queryBuilder

      protected final NxQueryBuilder queryBuilder
      NxQueryBuilder used for the initial search request.
    • scrollId

      protected final String scrollId
      Scroll id returned by the search request.
    • keepAlive

      protected final long keepAlive
      Timeout for keeping the search context alive.
  • Constructor Details

    • EsScrollResult

      public EsScrollResult(DocumentModelList documents, org.opensearch.action.search.SearchResponse response, NxQueryBuilder queryBuilder, String scrollId, long keepAlive)
    • EsScrollResult

      public EsScrollResult(IterableQueryResult rows, org.opensearch.action.search.SearchResponse response, NxQueryBuilder queryBuilder, String scrollId, long keepAlive)
    • EsScrollResult

      public EsScrollResult(org.opensearch.action.search.SearchResponse response, NxQueryBuilder queryBuilder, String scrollId, long keepAlive)
    • EsScrollResult

      public EsScrollResult(NxQueryBuilder queryBuilder, String scrollId, long keepAlive)
  • Method Details

    • getQueryBuilder

      public NxQueryBuilder getQueryBuilder()
    • getScrollId

      public String getScrollId()
    • getKeepAlive

      public long getKeepAlive()