Freshness tuning, Retrieving a host load schedule, Updating a host load schedule – Google Search Appliance Administrative API Developers Guide: Protocol User Manual

Page 22

Advertising
background image

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

22

Retrieving a Host Load Schedule

To get the host load schedule information for a search appliance, send an authenticated GET request to
the config feed URL:

http://Search_Appliance:8000/feeds/config/hostLoad

The result is an entry that contains the current host load schedule values for the search appliance:

<?xml version=’1.0’ encoding=’UTF-8’?>
<entry xmlns=’http://www.w3.org/2005/Atom’

xmlns:gsa=’http://schemas.google.com/gsa/2007’>
<id>http://gsa:8000/feeds/config/hostLoad</id>
<updated>2008-12-15T13:28:00.931Z</updated>
<link rel=’self’ type=’application/atom+xml’

href=’http://gsa:8000/feeds/config/hostLoad’/>

<link rel=’edit’ type=’application/atom+xml’

href=’http://gsa:8000/feeds/config/hostLoad’/>

<gsa:content name=’entryID’>hostLoad</gsa:content>
<gsa:content name=’defaultHostLoad’>3.6</gsa:content>
<gsa:content name=’exceptionHostLoad’>www.example.com 1 2 2.3</gsa:content>
<gsa:content name=’maxURLs’>2000</gsa:content>

</entry>

Updating a Host Load Schedule

To update the host load schedule information for a search appliance, send an authenticated PUT
request to the config feed URL:

http://Search_Appliance:8000/feeds/config/hostLoad

The following example overwrites a host load schedule:

<?xml version=’1.0’ encoding=’UTF-8’?>
<entry xmlns=’http://www.w3.org/2005/Atom’

xmlns:gsa=’http://schemas.google.com/gsa/2007’>
<id>http://gsa:8000/feeds/config/hostLoad</id>
<gsa:content name=’entryID’>hostLoad</gsa:content>
<gsa:content name=’defaultHostLoad’>2.4</gsa:content>
<gsa:content name=’exceptionHostLoad’>

* 3 5 1.2 www.example.com 1 6 3.6

</gsa:content>
<gsa:content name=’maxURLs’>3000</gsa:content>

</entry>

Freshness Tuning

Increase or decrease how often a search appliance crawls a URL pattern using the freshness entry to
the config feed.

Property

Description

archiveURLs

URL patterns for pages that contain archival or rarely changing content.

Advertising