The injury blow will affect his build-up up to the next Grand Slam of the year - the French Open. The Roland Garros takes place from May 22nd to June 5th.
The Spaniard said that he felt a lot of pain during the match and had a hard time breathing and that the pain made him feel dizzy.
The win meant that Swiatek had won 11 consecutive matches and climbed up the ladder to second place in the world rankings.
The 24-year-old was overcome with emotion at the end of the game and it was pretty evident that he viewed the victory as the biggest of his career so far.
The three-time BNP Paribas Open champion beat his fellow Spaniard 6-4, 4-6, 6-3 to reach his fifth final in the California desert.
On Monday, the home favourite will face Rafael Nadal of Spain in arguably the most important match of his career.
Sakkari had reached seven semifinals and two finals in her last ten tournaments coming into Indian Wells this year.
The Pole came back from a break down in each set, saving two set points in the first-set tiebreak, to win in 1 hour and 49 minutes.
Early in the decider, the 20th seed got his first break of the match on his eighth chance, then took the lead and cruised to victory.
Rublev continued his stellar form in Indian Wells, reaching the semi-finals for the first time after winning back-to-back ATP Tour titles.