Using the xslt stylesheet editor, Using the page layout helper – Google Search Appliance Creating the Search Experience User Manual
Page 46
Google Search Appliance: Creating the Search Experience
Best Practices
46
Using the Page Layout Helper
To enable or disable dynamic result clusters using the Page Layout Helper:
1.
Choose Serving > Front Ends.
The Front Ends page appears.
2.
Select a front end from the Current Front Ends list and click Edit.
The Output Format page appears.
3.
In the Page Layout Helper box, select the Search Results section.
The section expands.
4.
To enable dynamic result clusters, click Dynamic result clusters. A checkmark appears.
Notice that dynamic result clusters appear in the preview.
To disable dynamic result clusters, click Dynamic result clusters. The checkmark disappears.
5.
To change where cluster topics appear on the page, click Top or Side.
6.
Click Save Page Layout Code.
Using the XSLT Stylesheet Editor
This section describes enabling dynamic result clusters using the XSLT Stylesheet Editor. If you prefer,
you can edit the XSLT stylesheet in another editor.
To enable dynamic result clusters in an XSLT stylesheet:
1.
Choose Serving > Front Ends.
The Front Ends page appears.
2.
Select a front end from the Current Front Ends list and click Edit.
The Output Format page appears.
3.
In the XSLT Stylesheet Editor, scroll to the dynamic result cluster options in the Other Variables
section. The following code shows the dynamic result cluster options.
4.
Enable or disable dynamic result clusters:
•
To enable dynamic result clusters, change the show_res_clusters value from 0 (zero) to 1 (one).
•
To disable dynamic result clusters, change the show_res_clusters value from 1 (one) to 0 (zero).
5.
To change where the cluster topics appear on the page, from the right side (default) to the top of
the page, change the res_cluster_position value from right to top.
6.
Click Save XSLT Code.