Sparks - sorry to hear you got ill.
I feared the worst when going to Indonesia in 1997 - like India, in some parts it's a poverty stricken hell hole. I had injections - boosters for Polio, Tetanus, and a new jab for Hepatitis A - the water borne hepatitis. The hotel staff warned me not to drink the tap water, and even provided free bottled water. I always checked that the seals were unbroken. In bars, I drank only bottled beers - nothing from open containers, nothing from a drinking vessel that had been washed in tap water, no drinks with ice. And I was OK...
I assume you took all these precautions - so do you think it was the food that got you? I've heard (old info) that food refrigeration is relatively unheard of in India, and one awful story about a meat market: The meat for sale would be open, and would attract flies, ie be covered in them. When the seller came to cut the meat, he'd simply scrape the flies off the meat using the same knife that he used to cut it.
I'd love to see India, but have baulked for the health reasons. Of four people I know who went, on separate visits (now five including yourself) all became ill, some losing considerable weight in the process.