/** Commits index and notifies listeners of index update */ private void commit() { if (initialized) { logger.log(Level.INFO, "Commiting index"); ingester.commit(); logger.log(Level.INFO, "Index comitted"); // signal a potential change in number of indexed files indexChangeNotify(); } }