Immich allows search for text and objects in the photos, using integrated free, local-run small AI models. I haven't used a memories feature but I believe one may have rolled out in the last update.
Honestly, Immich is a free self-host option and is incredibly close to Google Photos. I think if you're holding out for exactly identical feature parity, though, you may never be satisfied.