this method deletes index files of the @linkplain indexcommit for the specified generation number . concode_field_sep Logger log concode_field_sep void deleteNonSnapshotIndexFiles concode_elem_sep Map<String,Integer> buildRefCounts
void function ( Directory arg0 , Collection < SnapshotMetaData > arg1 , long arg2 ) { List < IndexCommit > loc0 = DirectoryReader . listCommits ( arg0 ) ; Map < String , Integer > loc1 = buildRefCounts ( arg1 , loc0 ) ; for ( IndexCommit loc2 : loc0 ) { if ( loc2 . getGeneration ( ) == arg2 ) { deleteIndexFiles ( arg0 , loc1 , loc2 ) ; break ; } } }