Caste based discrimination is illegal in India, but erstwhile lower castes are given academic and job reservations as a form of socio-economic equity. But as with a lot of government schemes this provision gets abused to some degree and many upper caste people claim that as "discrimination".
That being said, there is no enforcement of the "no-caste" policy so in many smaller towns/villages the caste system is still widely practiced and lower caste folks discriminated/beaten/killed/etc.