beautypg.com

Index diagnostics, Updating a collection, Deleting a collection – Google Search Appliance Administrative API Developers Guide: Protocol User Manual

Page 34: Document status values

background image

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

34

The following example response shows the result:


xmlns:gsa=’http://schemas.google.com/gsa/2007’>
http://gsa:8000/feeds/collection/default_collection
2008-12-11T08:18:04.372Z

href=’http://gsa:8000/feeds/collection/default_collection’/>

href=’http://gsa:8000/feeds/collection/default_collection’/>

default_collection
/

Updating a Collection

To update an attribute in a collection, send an authenticated PUT request to the following URL:

http://Search_Appliance:8000/feeds/collection/Collection_Name

The following example request body shows the result:


xmlns:gsa=’http://schemas.google.com/gsa/2007’>
#updated urls

Deleting a Collection

To delete a collection, send an authenticated DELETE request to the following URL:

http://Search_Appliance:8000/feeds/collection/Collection_Name

Index Diagnostics

List crawled documents and retrieve the status of documents in a search appliance using the
diagnostics feed.

Document Status Values

The following tables list document status values.

Note: Use all to indicate any status value.

Successful Crawl:

Value

Description

1

Crawled from remote server

2

Crawled from cache