CHICAGO — Pirates outfielder Jordan Luplow had an appendectomy Thursday morning at Northwestern Hospital.

Luplow will miss the final four games of the season. The Pirates gave an estimated recovery time of two to four weeks.

Luplow, who turned 25 Wednesday, is a candidate for the fourth outfield spot on next year’s opening-day roster and could play right field until Gregory Polanco returns from shoulder and knee injuries. He had a .272 on-base percentage, a .359 slugging percentage and a .185 average in 37 games this season, with three home runs.

Bill Brink: bbrink@post-gazette.com and Twitter @BrinkPG.