Class SearchResponse
java.lang.Object
com.atlassian.jira.search.response.SearchResponse
Represents a search response.
- Since:
- 10.4
-
Constructor Summary
ConstructorsConstructorDescriptionSearchResponse(long totalHits, List<SearchHit> hits, PageRequest pageRequest) SearchResponse(long totalHits, List<SearchHit> hits, PageRequest pageRequest, AggregationsResponse aggregations) SearchResponse(long totalHits, List<SearchHit> hits, PageRequest pageRequest, AggregationsResponse aggregations, Integer maxResultWindow) -
Method Summary
-
Constructor Details
-
SearchResponse
-
SearchResponse
public SearchResponse(long totalHits, List<SearchHit> hits, PageRequest pageRequest, @Nullable AggregationsResponse aggregations) -
SearchResponse
public SearchResponse(long totalHits, List<SearchHit> hits, PageRequest pageRequest, @Nullable AggregationsResponse aggregations, @Nullable Integer maxResultWindow)
-
-
Method Details
-
getHits
-
getNextPageRequest
-
getPageRequest
-
getTotalHits
public long getTotalHits() -
getAggregations
- Since:
- 10.5
-
getMaxResultWindow
- Returns:
- the maximum number of results that can be retrieved from the underlying search engine, or null if unlimited
-