@RestController
@RequestMapping("/api/search")
public class SearchController
extends Object
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
search
@GetMapping
@PreAuthorize("hasAnyAuthority(\'SCENARIO_READ\', \'CAMPAIGN_READ\', \'DATASET_READ\')")
public List<Hit> search(@RequestParam("keyword")
String keyword)