T- the type of returned results
P- the supported search parameter enumeration
R- the supported search request type. For faceted searches this needs to extend
public interface SearchService<T,P extends Enum<?> & SearchParameter,R extends SearchRequest<P>>
SearchRequestare 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.
SearchResponse<T,P> search(R searchRequest)
searchRequest- the searchRequest that contains the search parameters
Copyright © 2017 Global Biodiversity Information Facility. All rights reserved.