It is a term used to describe when a student has a crush or takes an almost romantically liking to a teacher.
Oh my! My English teacher is so cute and kind! I am having a teacher complex!