void (IndexedFileImpl indexedFile, int inputId, ID<?, ?> indexId, UnindexedFileStatusBuilder fileStatusBuilder) { SingleIndexValueRemover remover = myFileBasedIndex.createSingleIndexRemover(indexId, indexedFile.getFile(), new IndexedFileWrapper(indexedFile), inputId, fileStatusBuilder.applicationMode); if (remover != null) { boolean removed = fileStatusBuilder.addOrRunRemover(remover); if (!removed) { LOG.error("Failed to remove value from index " + indexId + " for file " + indexedFile.getFile() + ", " + "applicationMode=" + fileStatusBuilder.applicationMode); } } }