Class ScrollableHitSource.Response

org.elasticsearch.index.reindex.ScrollableHitSource.Response
Enclosing class:
ScrollableHitSource

public static class ScrollableHitSource.Response extends
Response from each scroll batch.
  • Constructor Details

  • Method Details

    • isTimedOut

      public boolean isTimedOut()
      Did this batch time out?
    • getFailures

      public final <ScrollableHitSource.SearchFailure> getFailures()
      Where there any search failures?
    • getTotalHits

      public long getTotalHits()
      What were the total number of documents matching the search?
    • getHits

      public <? extends ScrollableHitSource.Hit> getHits()
      The documents returned in this batch.
    • getScrollId

      public  getScrollId()
      The scroll id used to fetch the next set of documents.