Package org.apereo.cas.mgmt
Class LuceneSearch
- java.lang.Object
-
- org.apereo.cas.mgmt.LuceneSearch
-
@RestController("casSearchController") @RequestMapping(path="api/search", produces="application/json") public class LuceneSearch extends java.lang.ObjectClass that allows full text search of services using Apache Lucene.- Since:
- 6.0
-
-
Constructor Summary
Constructors Constructor Description LuceneSearch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<org.apereo.cas.mgmt.domain.RegisteredServiceItem>search(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String queryString)Searches the current state of the the accessible services to a user from a query string.
-
-
-
Method Detail
-
search
@PostMapping public java.util.List<org.apereo.cas.mgmt.domain.RegisteredServiceItem> search(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, @RequestBody java.lang.String queryString) throws SearchExceptionSearches the current state of the the accessible services to a user from a query string.- Parameters:
request- - the requestresponse- - the responsequeryString- - the query- Returns:
- - List of RegisteredServiceItem
- Throws:
SearchException- - failed
-
-