public void deleteByKeys ( String projectUuid , Collection < String > issueKeys ) { if ( issueKeys . isEmpty ( ) ) { return ; } BulkIndexer bulkIndexer = createBulkIndexer ( Size . REGULAR , IndexingListener . FAIL_ON_ERROR ) ; bulkIndexer . start ( ) ; issueKeys . forEach ( issueKey -> bulkIndexer . addDeletion ( TYPE_ISSUE . getMainType ( ) , issueKey , AuthorizationDoc . idOf ( projectUuid ) ) ) ; bulkIndexer . stop ( ) ; }
Used by Compute Engine no need to recovery on errors