@HTTPService(name="cs") public class ContentSuggestService extends java.lang.Object
ClientService| Constructor and Description |
|---|
ContentSuggestService() |
| Modifier and Type | Method and Description |
|---|---|
Response |
suggest(AuthenticationParameter authenticatedUser,
DataGroups dataGroups,
StringParameter query,
Limits limits)
Autocomplete service method to get suggestions based on the indexed data.
|
public ContentSuggestService()
@HTTPServiceMethod(name="suggest", acceptedMethods="GET") public Response suggest(@HTTPAuthenticationParameter AuthenticationParameter authenticatedUser, @HTTPMethodParameter(name="data_groups",required=false) DataGroups dataGroups, @HTTPMethodParameter(name="query",required=true) StringParameter query, @HTTPMethodParameter(name="limits",required=false,defaultValue="0-9") Limits limits)
authenticatedUser - dataGroups - filters based on VisualObjectType.query - the term to be searched for.limits - paging optionsClientService.suggest(AuthenticationParameter, DataGroups, StringParameter, Limits),
MediaObject.MediaObjectTypeCopyright © 2015 Tampere University of Technology, Pori Department.