+1 Then step back a respectable distance and carefully utilize the ubiquitous phone camera to video said search. Do not answer any questions while the officer is conducting the search and make certain you get a good photograph of the officer and his/her vehicle. Don't argue, don't consent. Just document and write a good narrative statement as soon as possible afterwards. Contact officer's department and file a complaint. Then contact an attorney if you do not feel the issue is dealt with to your satisfaction.
Everyone has supervisors...everyone. Hold ALL public officials accountable. Treat everyone with the respect they deserve.
Be safe.