Google Search Appliance Administrative API Developers Gui Manuel d'utilisateur Page 34

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 77
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 33
Google Search Appliance: Administrative API Developer’s Guide: Protocol 34
The following example response shows the result:
<?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/collection/default_collection</id>
<updated>2008-12-11T08:18:04.372Z</updated>
<link rel=’self’ type=’application/atom+xml’
href=’http://gsa:8000/feeds/collection/default_collection’/>
<link rel=’edit’ type=’application/atom+xml’
href=’http://gsa:8000/feeds/collection/default_collection’/>
<gsa:content name=’entryID’>default_collection</gsa:content>
<gsa:content name=’followURLs’>/</gsa:content>
<gsa:content name=’doNotCrawlURLs’></gsa:content>
</entry>
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:
<?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=’followURLs’>#updated urls</gsa:content>
<gsa:content name=’doNotCrawlURLs’></gsa:content>
</entry>
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
Vue de la page 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 76 77

Commentaires sur ces manuels

Pas de commentaire