My question involves criminal law for the state of: Missouri

If a police officer has his dog out the car on a walk and the dog hits at my car for some illegal drugs would he have the legal right to search my car??