Class SearchResponse<T,P extends SearchParameter>

Type Parameters:
T - the actual type of response content
All Implemented Interfaces:
Pageable

public class SearchResponse<T,P extends SearchParameter> extends PagingResponse<T>
Generic response of a search operation. The result is a List of elements. The type of the elements is bounded by the type parameter T. The list of results can be an empty list. Optionally the response can contain: a count of the total returned elements, an offset, a pageSize and the list of facets (if those were requested).