Class SolrAPI
- java.lang.Object
-
- org.alfresco.rest.requests.ModelRequest<SolrAPI>
-
- org.alfresco.rest.requests.search.SolrAPI
-
public class SolrAPI extends ModelRequest<SolrAPI>
Wrapper for solr API.- Author:
- Meenal Bhave
-
-
Field Summary
-
Fields inherited from class org.alfresco.rest.requests.ModelRequest
restWrapper
-
-
Constructor Summary
Constructors Constructor Description SolrAPI(RestWrapper restWrapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RestTextResponsegetConfig()RestTextResponsegetConfigOverlay()RestTextResponsegetConfigParams()RestTextResponsegetSelectQuery()RestTextResponsepostConfig(java.lang.String queryBody)-
Methods inherited from class org.alfresco.rest.requests.ModelRequest
includePath, usingParams
-
-
-
-
Constructor Detail
-
SolrAPI
public SolrAPI(RestWrapper restWrapper)
-
-
Method Detail
-
getConfig
public RestTextResponse getConfig() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getConfigOverlay
public RestTextResponse getConfigOverlay() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getConfigParams
public RestTextResponse getConfigParams() throws java.lang.Exception
- Throws:
java.lang.Exception
-
postConfig
public RestTextResponse postConfig(java.lang.String queryBody) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getSelectQuery
public RestTextResponse getSelectQuery() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-