@Path(value="/index")
public interface SearchIndexResource
| Modifier and Type | Method and Description |
|---|---|
IndexList |
list(FilterParameterBean filter,
SortParameterBean sorting,
PagingParameterBean paging)
List all required search indices
|
GenericResponse |
rebuild(String name,
boolean drop)
Schedule rebuilding of index
|
@GET IndexList list(@BeanParam FilterParameterBean filter, @BeanParam SortParameterBean sorting, @BeanParam PagingParameterBean paging) throws Exception
filter - filter beansorting - sort beanpaging - paging beanException@PUT
@Path(value="/{name}/rebuild")
GenericResponse rebuild(@PathParam(value="name")
String name,
@QueryParam(value="drop") @DefaultValue(value="false")
boolean drop)
throws Exception
name - index namedrop - true, if the index shall be dropped firstExceptionCopyright © 2024 Gentics Software. All rights reserved.