The OperationFinished event occurs when an index operation completes – indexing, updating, merging, or optimizing (segment merging)... println ( "Last processed: " + args . getLastDocumentPath...System . out . println ( "Processed documents: " + args . getProcessedDocument...