@Path(value="/adminmanagement/v1") @ApplicationPath(value="webresources") public class ReindexationResource extends Object
| Constructor and Description |
|---|
ReindexationResource()
Default Constructor
|
ReindexationResource(LogbookOperationsClient logbookClient,
MetaDataClient metadataClient)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
reindex(List<IndexParameters> indexParameters)
Reindex a collection
|
javax.ws.rs.core.Response |
switchIndexes(List<SwitchIndexParameters> switchIndexParameters)
Switch indexes
|
public ReindexationResource(LogbookOperationsClient logbookClient, MetaDataClient metadataClient)
logbookClient - metadataClient - public ReindexationResource()
@Path(value="/reindex") @POST @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response reindex(List<IndexParameters> indexParameters)
indexParameters - parameters specifying what to reindex@Path(value="/alias") @POST @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response switchIndexes(List<SwitchIndexParameters> switchIndexParameters)
switchIndexParameters - specifying how to switch indexesCopyright © 2018 Vitam. All rights reserved.