Package org.apache.maven.search.api
Interface SearchResponse
- All Known Implementing Classes:
- SearchResponseSupport
public interface SearchResponse
A search engine response.
- 
Method SummaryModifier and TypeMethodDescriptionintReturns the count of current hits in current "page".getPage()Returns current "page" of results as list of records, nevernull.Returns theSearchRequestused for this response, nevernull.intReturns the total count of hits produced bygetSearchRequest().
- 
Method Details- 
getSearchRequestSearchRequest getSearchRequest()Returns theSearchRequestused for this response, nevernull.
- 
getTotalHitsint getTotalHits()Returns the total count of hits produced bygetSearchRequest().
- 
getCurrentHitsint getCurrentHits()Returns the count of current hits in current "page". It may be less or equal to page size ofSearchRequest.getPaging().
- 
getPageReturns current "page" of results as list of records, nevernull.
 
-