Class IndexResource
java.lang.Object
dev.getelements.elements.rest.index.IndexResource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
buildIndexes
(BuildIndexRequest buildIndexRequest) Pagination
<IndexPlan<?>> getPlans
(int offset, int count) void
setIndexService
(IndexService indexService)
-
Constructor Details
-
IndexResource
public IndexResource()
-
-
Method Details
-
getPlans
@GET @Path("plan") @Produces("application/json") public Pagination<IndexPlan<?>> getPlans(@QueryParam("offset") @DefaultValue("0") int offset, @QueryParam("count") @DefaultValue("20") int count) -
buildIndexes
@POST @Path("build") @Consumes("application/json") @Produces("application/json") public void buildIndexes(BuildIndexRequest buildIndexRequest) -
getIndexService
-
setIndexService
-