My index finger is swollen and has been hurting for over about 7 days now. I have been able to move and bend it but it hurts and swollen.?

Infrection or Trauma. If the problem has been there for seven days i would advise having it looked at by a physcian. Trauma , infection are possible and without knowing anything that caused this you would worry about compromise of blood flow it should be seen abd possibly xrayed to get the proper treatment.