Class ReindexationResource


  • @Path("/adminmanagement/v1")
    @ApplicationPath("webresources")
    public class ReindexationResource
    extends java.lang.Object
    • Method Detail

      • reindex

        @Path("/reindex")
        @POST
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response reindex​(@Valid
                                                 @Valid java.util.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 java.util.List<SwitchIndexParameters> switchIndexParameters)
        Switch indexes
        Parameters:
        switchIndexParameters - specifying how to switch indexes
        Returns:
        Response