India's domestic benchmark indices ended higher on Thursday as Adani Ports was among the top gainers.