*/
@POST
@Path("")
public void index(@QueryParam("action") String action, @QueryParam("indexes") String commaSeparatedIndexNames,
@QueryParam("id") String rowKey, @QueryParam("table") String tableName) throws Exception {
IndexerSupervisor indexerSupervisor = getIndexerSupervisor();
Set<String> indexNames = parse(commaSeparatedIndexNames);
if (indexNames.isEmpty()) {
indexNames = indexerSupervisor.getRunningIndexers();
}
for (String indexName : indexNames) {
indexOn(action, indexName, rowKey, tableName);
}