Ignore folder structure in Document Library - Use Metadata to filter, group and sort results
The following screenshot (MOSS 2007) shows the setting that is required when creating a view to display all documents in the library, ignoring the directory structure. This page can be accessed from any document library or list by selecting "Modify this View" or "Create View" from the View dropdown menu. Using this feature can increase relevance of the items/results displayed from the library as sorting and grouping can be performed using metadata without displaying folders. When using this method, the directory structure is preserved. Posted as a solution to http://www.sharepointblogs.com/forums/p/20623/44064.aspx#44064 on 10/03/09