Customizing Faceted Search
Modeled Attribute Visibility in Facets
Modeled attributes appear as facets when they are represented in SearchableAttributesByType.properties.xconf.
By default, SearchableAttributesByType.properties.xconf includes definitions for the advancedSearch property. For example:
<Property name="advancedSearch.wt.part.WTPart"
default=
"thePersistInfo.createStamp,iterationInfo.creator,defaultUnit,lock.locker,state.state,partType,thePersistInfo.modifyStamp,
iterationInfo.modifier,defaultTraceCode,genericType"
/>
If a modeled attribute is represented in the advancedSearch property value, then it is eligible to appear as a result facet.
However, you can explicitly prevent a modeled attribute from appearing by adding the facetSearch property to SearchableAttributesByType.properties.xconf. Once added, only the modeled attributes that are listed in the facetSearch property are eligible to appear. For example:
<Property name="facetSearch.wt.part.WTPart"
default=
"defaultUnit,thePersistInfo.createStamp,thePersistInfo.modifyStamp,"
/>
The entry is type specific. If any particular attribute is to be hidden for multiple types then multiple entries need to be added for applicable types.