beautypg.com

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

Page 23

background image

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:


xmlns:gsa=’http://schemas.google.com/gsa/2007’>
http://gsa:8000/feeds/config/freshness
2008-12-11T07:16:26.220Z

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

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

freshness
http://good/
http://frequent/
http://force/

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:


xmlns:gsa=’http://schemas.google.com/gsa/2007’>
freshness
http://good/
http://frequent/
http://force/

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