Interface SearchIndexResource
@Path("/index")
public interface SearchIndexResource
Resource for maintenance of search indices
-
Method Summary
Modifier and TypeMethodDescriptionlist
(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 indicescom.gentics.contentnode.rest.model.response.GenericResponse
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 beansorting
- sort beanpaging
- 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 namedrop
- true, if the index shall be dropped first- Returns:
- generic response
- Throws:
Exception
-