Class IndexerResource
java.lang.Object
io.goobi.viewer.api.rest.v1.index.IndexerResource
Resource for communicating with the indexer process.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Use /api/v1/monitoring/Used by the Solr indexer to submit its current version and hotfolder file count.
-
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
-
getIndexerVersion
@Deprecated(since="23.02") @GET @Path("/version") @Produces("application/json") public String getIndexerVersion()Deprecated.Use /api/v1/monitoring/- Returns:
- Indexer version
-