The 27-year-old suspect was shot in the leg by police

A female police officer has been stabbed in the neck and her suspected attacker shot in the leg in an alarming incident in Adelaide.

A police officer is recovering in hospital after allegedly being stabbed in the neck at Elizabeth East in Adelaide's northern suburbs.