Cut butter into small cubes, add to the flour, and then combine, working with your fingers, until the mixture becomes a cornmeal consistency. Mix the sugar in.
Add the whole egg, then add the yolks one at a time as needed. You want just enough to bring the dough together but not have it too wet. (Mine ended up fairly wet and I had to add a lot more flour when I rolled it out.)
Wrap the dough in plastic wrap and refrigerate for 30 minutes.
Mix ricotta and sugar. Add egg and mix.
Preheat oven to 350°F.
Grease a deep 8-inch pie plate with butter.
Divide the pastry so that 2/3 of it is one ball and 1/3 is another.
Roll out the larger piece on a well floured surface. Make it large enough so that about half an inch will hang over the side of the pie plate (you’ll fold it part-way over the filling later). Transfer dough to pie plate.
Add cherry preserves evenly over the dough. Add ricotta mixture. Fold the edge of the dough over the filling. Brush the edge with egg wash.
Roll out the smaller piece of pastry. Cut it into an 8-inch circle
Cover the top of the pie with this circle of pastry. None of the filling should be showing any more.
Paint the top of the pie with egg wash.
Bake 50 minutes.
Cool, sprinkle with confectioner’s sugar, and serve.