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

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.