Search Customization
Implementing Search Customization
PTC Arbortext Content Delivery provides configuration files and delegates that can be customized or overridden to support customization.
These configuration files can be used for customization. The OOTB configuration files are located in $(wt.codebase.location)\com\ptc\sc\configs.
searchConfig.xml can be used to configure the search criteria on the advanced search form, search results information, and search results sorting information.
facets.xml can be used to configure the display of facets and support facet based filtering such as information types, publication types, kit types, and so forth.
globalDefinitions.xml can be used to configure the stop words list, so that the words included in this file are not searched in PTC Arbortext Content Delivery.
customizedContext_XX.conf.xml, that is located in the \<HOME>\SW\Config\System\Config\ directory, contains the productSearchSuggestionDelimeters property. This property contains values that act as delimiters for the product search suggestion functionality. Each delimiter in the property value is separated by a pipe character.
* 
In the file name, the XX represents the default numeric value for the file.
The product delimiters are not configurable.
These files can be customized and any new files can be stored in the custom configuration location.
<Property name="com.ptc.sc.search.config.
StandardSystemPropertyService.customSearchConfigLocation"
default="$(wt.codebase.
location)$(dir.sep)delivery$(dir.sep)customSearchConfig"
overridable="true"/>
* 
The custom files contain both OOTB and customized information, not just the customized information.
The client advanced search page can be customized by copying and customizing the following layout files:
codebase.war/delivery/templates/search/advancedSearch.tmpl.html
Customize this file to modify the out-of-box layout itself.
codebase.wardelivery/templates/search/advancedSearchCustomControls.tmpl.html
Customize this file to add new controls after the out-of-box controls.