Crawler access rules, Updating a crawl schedule – Google Search Appliance Administrative API Developers Guide: Protocol User Manual

Page 18

background image

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

18

The response is as follows:


xmlns:gsa=’http://schemas.google.com/gsa/2007’>
http://gsa:8000/feeds/config/crawlSchedule
2008-12-11T06:29:35.862Z

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

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

crawlSchedule
0

Updating a Crawl Schedule

To update the crawl schedule, send an authenticated PUT request to the following URL:

http://Search_Appliance:8000/feeds/config/crawlSchedule

The following example changes the crawl schedule:


xmlns:gsa=’http://schemas.google.com/gsa/2007’>
crawlSchedule
1
0,0300,360 2,0000,1200

The following example changes crawl mode to continuous crawl:


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

Crawler Access Rules

Create, retrieve, update, and delete crawler access rules on a search appliance.

Crawler access rules instruct the crawler how to authenticate when crawling protected content, as
shown in the following list of properties:

Property

Description

domain

Windows domain (for NTLM) or empty (for HTTP Basic authorization)

isPublic

Indicates whether users can get results on both the public content
(normally available to everyone) and the secure (confidential) content. The
value can be 1 or 0. For the search appliance, crawler access can let the
search appliance index secure content. If isPublic is 1, then the content
can be searched by anyone. If isPublic is 0, then content can only be
searched by users who can access the secure content.