Class ReindexationResource

java.lang.Object
fr.gouv.vitam.functional.administration.rest.ReindexationResource

@Path("/adminmanagement/v1") @ApplicationPath("webresources") public class ReindexationResource extends Object
  • Constructor Details

  • Method Details

    • reindex

      @Path("/reindex") @POST @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response reindex(@Valid @Valid List<IndexParameters> indexParameters)
      Reindex a collection
      Parameters:
      indexParameters - parameters specifying what to reindex
      Returns:
      Response
    • switchIndexes

      @Path("/alias") @POST @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response switchIndexes(@Valid @Valid List<SwitchIndexParameters> switchIndexParameters)
      Switch indexes
      Parameters:
      switchIndexParameters - specifying how to switch indexes
      Returns:
      Response