@RestController
@RequestMapping(value="/rest",
produces={"application/xml","application/json"})
public class IndexSearchRestController
extends HerdBaseController
| Constructor and Description |
|---|
IndexSearchRestController() |
| Modifier and Type | Method and Description |
|---|---|
IndexSearchResponse |
indexSearch(Set<String> fields,
Set<String> match,
IndexSearchRequest request)
The index search POST method.
|
addPagingHttpHeaders, validateNoDuplicateQueryStringParams@RequestMapping(value="/indexSearch",
method=POST,
consumes={"application/xml","application/json"})
@Secured(value="FN_INDEX_SEARCH_POST")
public IndexSearchResponse indexSearch(@RequestParam(value="fields",required=false,defaultValue="")
Set<String> fields,
@RequestParam(value="match",required=false,defaultValue="")
Set<String> match,
@RequestBody
IndexSearchRequest request)
fields - the set of fields that are to be returned in the index search response (accepts: displayname and shortdescription)match - the set of match fields that the search will be restricted to (accepts: column)request - the index search requestCopyright © 2019. All rights reserved.