beautypg.com

Google Search Appliance Protocol Reference User Manual

Page 87

background image

Google Search Appliance: Search Protocol Reference

Dynamic Result Clustering Service /cluster Protocol

87

3.

Triggers an A JAX call to the cluster service to populate the cluster position holders. The cluster
position holders have the following DOM Ids depending on their position:
























The default style sheet activates dynamic result clustering using onload attribute of the tag on
the search result page. The following is an example of the body opening tag:

Where {search_query} is the current search request, as shown in the following example (broken for
readability):

q=culebra&btnG=Google+Search&access=p&client=default_frontend&output=xml_no_dtd&
proxystylesheet=default_frontend&sort=date%3AD%3AL%3Ad1&entqr=3&entsp=a&oe=UTF-
8&
ie=UTF-8&ud=1&site=default_collection

The default XSLT stylesheet provides the clustering CSS id value for the page heading, cluster
position, and loading message.

Narrow your search

...

For more information, see “Using Dynamic Result Clusters to Narrow Searches” in Creating the Search
Experience.

Note: The cluster.js file depends on additional JavaScript files listed in the application.