Sorry, but I don't really know what do you need, but search results include folders.
Moreover, you can search something like this:
I know these. I want to see folders following search field. So no connection advanced search field.
Are you referring to Live Search?
In this thread: same question, but no results, sorry. I suppose is neccessary to change source code or try to find any addons.
Can I add a "folder" search filter
Something related to this subject:
Modify live search in Alfresco Commmunity 5.0.d - Stack Overflow
Yes, as commented by Jose Angel, it needs several modifications in the live query search component. Probably it would give a very large result to show in screen considering also documents, sites and users.
OOTB, for a quick folder search in a site, I use the search dashlet in site dashboard (putting "term AND TYPE:folder").
Thanks dear Cesar Capillas, which your solutions additive code. I want to do your solutions additive code.. it will be automatic with your solution.
Retrieving data ...