I'm likely in the minority but I think it is relevant whether the opponent's major is hearts or spades.
When the opponent's suit is hearts I believe all doubles should be takeout. And all doubles when the opponent's suit is spades are best played as lead-directing ...