There are many, many different types of bunion
surgery, and the more involved ones take longer for the swelling to go down.
But even with the lesser ones, it's not uncommon to be swollen for up to a year, but it should get progressively better over time.
As the other doctor suggested, speak to your surgeon about this. Good luck!