It's a matter of degree and how direct it is.Dagny said:Agreed. Unfortunately I can't really think of a word that means specifically what the OP was talking about. It would be a lot easier if there were one word for "choosing between multiple things based on their characteristics," and another word for "depriving a person of his basic dignity or rights on the basis of one or more of his characteristics, which are unrelated to his character."
I would say that in this context, it's valid to say that you have been discriminated against on the basis of religion/ethnicity/etc if a large enough proportion of your peer group treated you with derision on that basis that it made your daily life consistently miserable; or if you've been harassed or physically assaulted on that basis; or if a former friend (previously unaware of this characteristic) rejected you on that basis; or if you've been denied services on that basis; or if you've been denied employment on that basis; or if you've been denied admission to an institution on that basis; or if you've been treated negatively by law enforcement on that basis. I'm probably forgetting a few things.
Discrimination sometimes isn't as obvious and direct to the point where it would hold a more 'official' or legal ground. There are millions of subtle and obvious, big and small, direct and indirect judgments people cast on each other on a regular basis.
Discrimination can be everything from someone thinking a bitter thought of me based on my hair that day, to me being severely harassed for my personal beliefs.