I store all my photos, along with other digital things, on a Synology NAS that has a decent built in photos organizer that lets you do some level of searching, sorting by people, tags, etc.
A likely better, but not free-with-NAS-hardware, option would be something like Excire Foto or one of its many competitors.