beautypg.com

Related queries, Updating keymatch settings – Google Search Appliance Administrative API Developers Guide: Protocol User Manual

Page 50

background image

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

50

Updating KeyMatch Settings

To change KeyMatch settings, send an authenticated PUT request to the following URL:

http://Search_Appliance:8000/feeds/keymatch/Front_End

The following example appends KeyMatch settings:


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

image,KeywordMatch,http://images.google.com/,Google Image Search
video,KeywordMatch,http://www.youtube.com/,Youtube
rss feed,PhraseMatch,http://www.google.com/reader,Reader

The following example updates KeyMatch settings:


xmlns:gsa=’http://schemas.google.com/gsa/2007’>
update
0

image,KeywordMatch,http://images.google.com/,Google Image Search
video,KeywordMatch,http://www.youtube.com/,Youtube rss
feed,PhraseMatch,http://www.google.com/reader,Reader


,,,
video,KeywordMatch,http://video.google.com/,Video Search
rss feed,PhraseMatch,http://www.example.com/,RSS example

Note: To delete a KeyMatch setting, specify a line as three commas (,,,).

The following example replaces a KeyMatch setting:


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

image,KeywordMatch,http://images.google.com/,Google Image Search
video,KeywordMatch,http://www.youtube.com/,Youtube
rss feed,PhraseMatch,http://www.google.com/reader,Reader

Related Queries

Retrieve or update related queries on a search appliance using the synonym feed. (Related queries are
also known as synonyms.)