Recrawl url patterns, Retrieving freshness tuning settings, Updating freshness tuning settings – Google Search Appliance Administrative API Developers Guide: Protocol User Manual
Page 23

Google Search Appliance: Administrative API Developer’s Guide: Protocol
23
Retrieving Freshness Tuning Settings
To get the settings for freshness tuning, send an authenticated GET request to the following URL:
http://Search_Appliance:8000/feeds/config/freshness
The response is as follows:
<?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/freshness</id>
<updated>2008-12-11T07:16:26.220Z</updated>
<link rel=’self’ type=’application/atom+xml’
href=’http://gsa:8000/feeds/config/freshness’/>
<link rel=’edit’ type=’application/atom+xml’
href=’http://gsa:8000/feeds/config/freshness’/>
<gsa:content name=’entryID’>freshness</gsa:content>
<gsa:content name=’archiveURLs’>http://good/</gsa:content>
<gsa:content name=’frequentURLs’>http://frequent/</gsa:content>
<gsa:content name=’forceURLs’>http://force/</gsa:content>
</entry>
Updating Freshness Tuning Settings
To update the settings for freshness tuning, send an authenticated PUT request to the following URL:
http://Search_Appliance:8000/feeds/config/freshness
The following is an example of a request body:
<?xml version=’1.0’ encoding=’UTF-8’?>
<entry xmlns=’http://www.w3.org/2005/Atom’
xmlns:gsa=’http://schemas.google.com/gsa/2007’>
<gsa:content name=’entryID’>freshness</gsa:content>
<gsa:content name=’archiveURLs’>http://good/</gsa:content>
<gsa:content name=’frequentURLs’>http://frequent/</gsa:content>
<gsa:content name=’forceURLs’>http://force/</gsa:content>
</entry>
Recrawl URL Patterns
Recrawl URL patterns using the recrawlNow entry to the command feed.
forceURLs
URL patterns for pages to recrawl regardless of their response to If-
Modified-Since request headers.
frequentURLs
URL patterns for pages on which content changes often (typically more
than once a day).
Property
Description