Only those who were discharged to pension up to 1854 are name indexed online. After that the discharge papers are filed in date bands so your man could be in the date band 1855-1872 or possibly in the next one if he left 1873 onwards. Was he still in the Army when he married?
So you would have to wait until they are all online or go to Kew or get someone to go for you.