142143144145146147148149150151152
public void optimizeIndices() { validateUser(); ContentletIndexAPI api=APILocator.getContentletIndexAPI(); List<String> indices=api.listDotCMSIndices(); api.optimize(indices); } /** * The path where tmp files are stored. This gets wiped alot */