Research is research. If you know what you want to do, it helps to do research in that field. It’s shows interest in the field and is something easy and interesting to talk about during interviews. But if not, that’s cool too for the most part. Having research will never hurt you unless for some reason the interviewer or the program thinks they’re your backup. Having pubs in any field shows that you know how to operate within the scientific method, start and finish something, and ultimate be productive in research of your matched specialty.
I think some fields do want to see some research in their field more than others though. I may be completely off base or biased but ortho and derm comes to mind.