I assume that comaps is using one of the common OSM compatible geocoders for search functionality. The OSM devs treat this as a separate piece of software from the map database itself. The most common one is Nominatim, but I've tried several and they're all varying degrees of not-great.
A while ago I ran across this blog post outlining the major problems with OSM from the perspective of a developer who claims to have worked on the project for many years. I can't speak to the overall accuracy of the piece, but the section on geocoders is certainly consistent with my personal experience.