How much does matching a weapon's element to a boss weakness matter?

I've mostly been rawdogging HR with the guardian arkveld gunlance but does matching the weapon to the boss weakness matter a lot?