If the police knocked on my door, I would answer through the door, "Hello, how can I help you." And if it's something I don't like, I would say, "No thank you, have a nice day, please leave my property" while I start recording.
If they say something about my neighbor, I would probably open up the door, especially if their vehicle is in front of their house and not mine.
Police officers that I meet randomly, I have no problem with. Police officers that seek me out - I need to make sure I am not a "nail" to their "hammer".
Other than a few pull-overs for speeding, I've never had police seek me out. As a reminder: always roll down all of your windows and ask the officer for permission to reach for something and tell them where - you don't have to, but I've found good success with that (no tickets/citations).