Google Search Appliance Protocol Reference User Manual

Page 95

Advertising
background image

Google Search Appliance: Search Protocol Reference

Query Suggestion Service /suggest Protocol

95

ss_g_max_to_display

The maximum number of query suggestions to show from the suggest server. If set to 0, allows an
unlimited number of suggestion types.

Default value: 10

ss_g_more_names_to_display

A literal string that displays for multiple suggestions. This value appears to the right of the query
suggestion box. The default value listed in the next column is for the English language version. The
value is internationalized and the actual value depends on the current language setting.

Default value: Suggestions

ss_g_one_name_to_display

A literal string that displays for a single suggestion. This value appears to the right of the query
suggestion box. The default value listed in the next column is for the English language version. The
value is internationalized and the actual value depends on the current language setting.

Default value: Suggestion

ss_max_to_display

The total number of rows allowed in the suggestion box. The smaller of ss_max_to_display and
ss_g_max_to_display takes effect in limiting the number of suggestions.

Default value: 12

ss_non_query_empty_title

If a user-added results entry’s title is missing or is an empty string, this value is used. This is a token that
you can internationalize in the XSLT stylesheet. Set this value to Unknown, Noname, --- , or anything that
can be visually shown. Otherwise, the empty string becomes an element that introduces confusion, as
the user may not know whether it is a suggestion or just a separation line. The default value listed in the
next column is for the English language version. The value is internationalized and the actual value
depends on the current language setting.

Default value: No Title

ss_popup_element

The value of the attribute id of the <table> as the placeholder for search suggestions. The <table>
initially is empty, and is positioned beneath the search box, aligned to the left. If the <table> HTML
code is incorrect, suggestion results do not display. The default value is:

var ss_popup_element = ’search_suggest’;

For an example of the search_suggest in a table, see “Query Suggestion Table Class” on page 96.

Default value: search_suggest

Advertising