Interface SearchIndexResource


@Path("/index") public interface SearchIndexResource
Resource for maintenance of search indices
  • Method Summary

    Modifier and Type
    Method
    Description
    list(com.gentics.contentnode.rest.resource.parameter.FilterParameterBean filter, com.gentics.contentnode.rest.resource.parameter.SortParameterBean sorting, com.gentics.contentnode.rest.resource.parameter.PagingParameterBean paging)
    List all required search indices
    com.gentics.contentnode.rest.model.response.GenericResponse
    rebuild(String name, boolean drop)
    Schedule rebuilding of index
  • Method Details

    • list

      @GET IndexList list(@BeanParam com.gentics.contentnode.rest.resource.parameter.FilterParameterBean filter, @BeanParam com.gentics.contentnode.rest.resource.parameter.SortParameterBean sorting, @BeanParam com.gentics.contentnode.rest.resource.parameter.PagingParameterBean paging) throws Exception
      List all required search indices
      Parameters:
      filter - filter bean
      sorting - sort bean
      paging - paging bean
      Returns:
      list response
      Throws:
      Exception
    • rebuild

      @PUT @Path("/{name}/rebuild") com.gentics.contentnode.rest.model.response.GenericResponse rebuild(@PathParam("name") String name, @QueryParam("drop") @DefaultValue("false") boolean drop) throws Exception
      Schedule rebuilding of index
      Parameters:
      name - index name
      drop - true, if the index shall be dropped first
      Returns:
      generic response
      Throws:
      Exception