A document set is a collection of source index items that are indexed and deployed together. Document sets can represent directories, metadata, or item categorization. During a query, Oracle ATG Web Commerce Search can restrict its search to a particular document set or a document set and all its child sets.
The subdirs attribute determines whether child sets are included (true) or excluded (false). The docset_path is the pathname for the document set, beginning with an initial forward slash denoting the root.
The XML representation for this constraint is:
<set subdirs="true|false">docset_path</set>For example, the following XML constrains the search to documents that are included in the /Meta/fall_styles/shoes document set and its subdirectories:
<set subdirs="true">/Meta/fall_styles/shoes</set>In Oracle ATG Web Commerce Search, there are four root paths:
/Documents– Physical directories of unstructured content/Solutions– Physical directories of structured content/Topics– Virtual directories for categorization results/Meta– Virtual directories for metadata

