T - the type of returned resultsP - the supported search parameter enumerationR - the supported search request type. For faceted searches this needs to extend FacetedSearchRequestpublic interface SearchService<T,P extends Enum<?> & SearchParameter,R extends SearchRequest<P>>
SearchResponse and SearchRequest are used to provide the basic search parameters
in a request and allow facets for results.
This marker interface should be extended by other interfaces that support full text, faceted and paginated search.| Modifier and Type | Method and Description |
|---|---|
SearchResponse<T,P> |
search(R searchRequest)
Issues a SearchRequest and retrieves a response resulting of the search operation.
|
SearchResponse<T,P> search(R searchRequest)
searchRequest - the searchRequest that contains the search parametersCopyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.