Getty / X @Yankees Composite

Officials have conducted a raid at the Costa Rican hotel where former New York Yankees outfielder Brett Gardner 's son, Miller , died ... as investigators look into whether the matter is a manslaughter case.

According to ESPN -- which spoke to prosecutor Kenneth Alvarez -- a three-hour search of the Arenas Del Mar Beachfront & Rainforest Resort in Manuel Antonio took place on Thursday to collect more evidence -- both physical and digital.

14-year-old Miller died on March 21 after falling ill while vacationing with his family ... and an autopsy determined carbon monoxide was the cause.

Alvarez said at the time, toxic substance measurement tests were taken ... and Thursday's raid was a follow-up on those results.

The search targeted the managem

See Full Page