beautypg.com

Search status, Query suggestion refresh, Retrieving the serving status entry – Google Search Appliance Administrative API Developers Guide: Protocol User Manual

Page 54

background image

Google Search Appliance: Administrative API Developer’s Guide: Protocol

54

Update query suggestion blacklist entries as follows:

PUT request
URL: http://Search_Appliance:8000/feeds/suggest/suggestBlacklist

xmlns:gsa=’http://schemas.google.com/gsa/2007’
xmlns:apps=’http://schemas.google.com/apps/2006’>

bad_word_3
^bad_word_1$
car[0-9]{4}.*

Query Suggestion Refresh

The query suggestion refresh supports the /suggest feature described in the “Query Suggestion Service
/suggest Protocol” chapter of the Search Protocol Reference. This feature uses the suggest feed to
refresh the query suggestion database.

Refresh query suggestions as follows:

PUT request
URL: http://Search_Appliance:8000/feeds/suggest/suggestRefresh

xmlns:gsa=’http://schemas.google.com/gsa/2007’
xmlns:apps=’http://schemas.google.com/apps/2006’>

1

Search Status

Retrieve serving status for a search appliance using the servingStatus entry of the status feed.

Retrieving the Serving Status Entry

To get the current search appliance serving status, send an authenticated GET request to the status
feed URL:

http://Search_Appliance:8002/feeds/status/servingStatus

Property

Description

suggestRefresh

Triggers a query suggestion refresh.

Property

Description

queriesPerMinute

Average queries per minute recently served on the search appliance.

searchLatency

Recent search latency in seconds.