Comparing HARPS and Kepler surveys