At first glance, the easiest but crudest solution is to manually unset the searchable flag on all containers.
As regards automatic solutions, either:
1)
Write a plugin attached to the onDocFormSave event to set all containers to be unsearchable (not a complex piece of code, but you’ll need to know PHP and be aware of how to write plugins for events)
or
2)
Feed the results of the search snippet back into Ditto and make it filter out all containers.
Make these chunks:
{{searchStartTpl}} =
{{searchEndTpl}} =
` &where=`isFolder=`0` !]
{{searchTpl}} =
... and refer to these templates in the call to the search snippet.
&searchStartTpl=`searchStartTpl` &searchEndTpl=`searchEndTpl` &tpl=`searchTpl`
I’ve not tested this, so treat it as nudge in the right direction rather than a definitive answer! Note that &documents will have an extra comma at the end, but hopefully Ditto won’t mind about this. This code is for Evo, but I think it will work for Revo also.
-- Tim.