How to search for folder/directory names in search box?

The standard SharePoint 2016 on-page search boxes find filenames that match search strings. They don’t find folder/directory names. Can this be changed?