Class SearchResponse

java.lang.Object
com.atlassian.jira.search.response.SearchResponse

@PublicApi public class SearchResponse extends Object
Represents a search response.
Since:
10.4
  • Constructor Details

  • Method Details

    • getHits

      public List<SearchHit> getHits()
    • getNextPageRequest

      public Optional<PageRequest> getNextPageRequest()
    • getPageRequest

      public PageRequest getPageRequest()
    • getTotalHits

      public long getTotalHits()
    • getAggregations

      public AggregationsResponse getAggregations()
      Since:
      10.5
    • getMaxResultWindow

      @Nullable public Integer getMaxResultWindow()
      Returns:
      the maximum number of results that can be retrieved from the underlying search engine, or null if unlimited