class SearchIndexRestController extends HerdBaseController {

    @RequestMapping(value = SEARCH_INDEXES_URI_PREFIX + "/{searchIndexName}", method = RequestMethod.GET)
    @Secured(SecurityFunctions.FN_SEARCH_INDEXES_GET)
    public SearchIndex getSearchIndex(@PathVariable("searchIndexName") String searchIndexName)
    {
        return searchIndexService.getSearchIndex(new SearchIndexKey(searchIndexName));
    }

}