This has been requested many times over the years, but it required some changes to the search infrastructure, so I procrastinated. I've finally made the changes, so you can now filter your searches to non-public posts only. "Non-public" includes friends-only posts as well as those purple "group" posts -- you've probably seen them when you report abuse or appeal a penalty.