response.getWriter().println(ESIndexResource.indexDocumentCount(indexName));
}
public void getNotActiveIndexNames(HttpServletRequest request, HttpServletResponse response) throws IOException {
ContentletIndexAPI idxApi = APILocator.getContentletIndexAPI();
List<String> indices = idxApi.listDotCMSIndices();
List<String> inactives = new ArrayList<String>();
for (String index : indices) {
try {
if(APILocator.getESIndexAPI().getIndexStatus(index) == ESIndexAPI.Status.INACTIVE) {