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
  • Constructor Details

  • Method Details

    • getConfig

      public RestTextResponse getConfig()
    • getConfigOverlay

      public RestTextResponse getConfigOverlay()
    • getConfigParams

      public RestTextResponse getConfigParams()
    • postConfig

      public RestTextResponse postConfig(String queryBody)
    • postAction

      public RestTextResponse postAction(String urlActionPath, String queryBody)
      Executes an action (like "delete") on SOLR alfresco core
      Parameters:
      urlActionPath - some action name (like "delete")
      queryBody - parameters for the action
    • getSelectQuery

      public RestTextResponse getSelectQuery()
    • getSelectQueryJson

      public RestTextResponse getSelectQueryJson()
      Executes a query in SOLR using JSON format for the results