beautypg.com

Crawl status, Deleting a onebox module, Retrieving the crawl status – Google Search Appliance Administrative API Developers Guide: Protocol User Manual

Page 29

background image

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

29

To view OneBox information for a search appliance, send an authenticated GET request to the onebox
feed URL for a OneBox name:

http://Search_Appliance:8000/feeds/onebox/OneBox_Name

The result is an entry that includes current individual OneBox values for a search appliance:


xmlns:gsa=’http://schemas.google.com/gsa/2007’>
http://gsa:8000/feeds/onebox/oneboxone
2008-12-15T13:39:42.895Z

href=’http://gsa:8000/feeds/onebox/oneboxone’/>

href=’http://gsa:8000/feeds/onebox/oneboxone’/>

oneboxone
onebox logs

Note: The logs for each OneBox can only be retrieved by getting separate information for each OneBox.

Deleting a OneBox Module

To delete a OneBox module from a search appliance, send an authenticated DELETE request to the
onebox feed URL:

http://Search_Appliance:8000/feeds/onebox/OneBox_Name

Crawl Status

Check the crawl status, and also pause or resume crawl using the pauseCrawl entry of the command
feed.

Retrieving the Crawl Status

To check status of crawl, send an authenticated GET request to the following URL:

http://Search_Appliance:8000/feeds/command/pauseCrawl

Property

Description

pauseCrawl

Set to 1 to check to see if crawl on a search appliance is paused. You can
also use this property to pause the crawl.

Set to 0 to verify that a search appliance is crawling. You can also use this
property to start the crawl.