The removal of ionized inorganic minerals and salts (not organic materials) from a solution by a two-phase ion exchange procedure; similar to deionization, and the two terms are often used interchangeably.