public long delete ( final List < TicketDocument > ticketDocuments ) { return ( long ) db . executeBulk ( ticketDocuments . stream ( ) . map ( BulkDeleteDocument :: of ) . collect ( Collectors . toList ( ) ) ) . size ( ) ; }
Delete tickets .