Package org.gbif.api.service.common
Interface SuggestService<T,P extends Enum<?> & SearchParameter,R extends SearchRequest<P>>
-
- Type Parameters:
T
- the type of returned resultsP
- the supported search parameter enumerationR
- the supported search request type. For faceted searches this needs to extendFacetedSearchRequest
- All Known Subinterfaces:
DatasetSearchService
,NameUsageSearchService
public interface SuggestService<T,P extends Enum<?> & SearchParameter,R extends SearchRequest<P>>
Generic search interface for a suggest/autocomplete service. This marker interface should be extended by other interfaces that support this functionality.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<T>
suggest(R suggestRequest)
Issues a SearchRequest for a suggest and retrieves the list of matches.
-