Class IndexerResource

java.lang.Object
io.goobi.viewer.api.rest.v1.index.IndexerResource

@Path("/indexer") public class IndexerResource extends Object
Resource for communicating with the indexer process.
  • Constructor Details

    • IndexerResource

      public IndexerResource()
  • Method Details

    • setIndexerVersion

      @PUT @Path("/version") @Produces("application/json") @Consumes("application/json") public SuccessMessage setIndexerVersion(IndexerDataRequestParameters params) throws de.unigoettingen.sub.commons.contentlib.exceptions.IllegalRequestException
      Used by the Solr indexer to submit its current version and hotfolder file count.
      Parameters:
      params -
      Returns:
      SuccessMessage
      Throws:
      de.unigoettingen.sub.commons.contentlib.exceptions.IllegalRequestException