CLEVELAND — The crowd of 30,459 stood and cheered as Cody Allen fanned Trey Mancini for the final out.
Make it 17 in a row for the Cleveland Indians.
Francisco Lindor hit his 28th home run of the season in the seventh innning and Allen finished off another impressive performance for Cleveland’s bullpen, helping the Indians beat the Baltimore Orioles, 4-2, on Saturday for their 17th straight victory.
‘‘It’s one of those crazy things where you’re just playing good baseball,’’ said Allen, who earned his 25th save. ‘‘We’re not really thinking about it as much as you guys are.’’
Cleveland’s franchise-record streak is the longest in the majors since Oakland won 20 straight in 2002. The longest streak in baseball history belongs to the New York Giants, who had a 26-game run in 1916, according to the Elias Sports Bureau. That streak included a tie, which doesn’t count as a game in baseball.
Jay Bruce’s fourth-inning single put the Indians ahead to stay, and Josh Tomlin pitched into the sixth to win his fifth consecutive decision.
‘‘It’s kind of weird, but it’s also a lot of fun,’’ Tomlin said.
The Indians haven’t lost since Aug. 23. They have outscored their opponents, 118-30, during the streak, but their latest win was a close one.
The Orioles jumped in front on Mancini’s infield hit in the first. It was the first time since Cleveland’s last loss that the Indians didn’t score first.
Tomlin was pulled after Tim Beckham’s 20th homer leading off the sixth. Five relievers then combined for four innings of one-hit ball.
‘‘They’re a heck of a team, man,’’ Beckham said. ‘‘They have everything they need to win ballgames. You just give it your all and don’t waste any at-bats because you can’t afford to.’’
Baltimore rookie Gabriel Ynoa, making his first start of the season, allowed three runs in 4⅔ innings.
The Orioles were three games out in the wild-card race entering play.
Giovanny Urshela’s third-inning double tied it at 1. Carlos Santana scored on Bruce’s single past a drawn-in infield, and then added an RBI double in the fifth.
The Indians nearly pulled off two spectacular defensive plays in the first.
Urshela, playing second base for the first time in the majors, made a diving stop behind the bag of Manny Machado’s ground ball. Throwing from his back, Urshela nearly got Machado at first.
Machado took third on Adam Jones’s single. Mancini hustled down the line to beat a strong throw from shortstop Lindor, who ranged behind second for his grounder.
The Indians went 11-0 on a road trip that ended Thursday. Cleveland extended the streak with a 5-0 win Friday in the opener of a 10-game homestand.
Cleveland has gone on this roll all without All-Star reliever Andrew Miller, outfielder Michael Brantley, and Jason Kipnis, three of their best players who are sidelined with injuries.
Miller is nearing a return, but joked that now might not be the best time.
‘‘I don’t want to come back and mess it up,’’ Miller said. ‘‘These guys are doing pretty good. A lot of things have gone our way, but these guys are playing really well.’’