You can remember the meaning of 警官 with this easy mnemonic:
A constable is a police (警) official (官) who has a higher rank.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.