Google Search Appliance Administrative API Developers Gui Manual do Utilizador Página 42

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 77
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 41
Google Search Appliance: Administrative API Developer’s Guide: Protocol 42
Retrieving Content Statistics for a Document Type
To retrieve content statistics for a document type in a search appliance, send an authenticated
GET
request to the content statistics entry of the
contentStatistics
feed.
http://Search_Appliance:8000/feeds/contentStatistics/text%2Fpdf
A content statistics entry is returned.
<?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/contentStatistics/text%2Fpdf</id>
<updated>2009-03-26T05:51:32.659Z</updated>
<app:edited xmlns:app=’http://purl.org/atom/app#’>
2009-03-26T05:51:32.659Z
</app:edited>
<link rel=’self’ type=’application/atom+xml’
href=’http://gsa:8000/feeds/contentStatistics/text%2Fpdf’/>
<link rel=’edit’ type=’application/atom+xml’
href=’http://gsa:8000/feeds/contentStatistics/text%2Fpdf’/>
<gsa:content name=’entryID’>text/pdf</gsa:content>
<gsa:content name=’numFiles’>3</gsa:content>
<gsa:content name=’minSize’>24k</gsa:content>
<gsa:content name=’avgSize’>136k</gsa:content>
<gsa:content name=’totalSize’>407k</gsa:content>
<gsa:content name=’maxSize’>217k</gsa:content>
</entry>
Reset Index
Reset your crawling queues and delete your search index, removing all its contents.
Note: If you reset an index that has a large document corpus, recrawling the index can take many days
to complete.
Retrieving Status After Resetting the Index
To check the status of resetting the index, send an authenticated
GET
request to the following URL:
http://Search_Appliance:8000/feeds/command/resetIndex
Property Description
resetIndex
Set to
1
to reset the index or
0
to not reset the index. If viewing,
1
indicates
that the index was reset,
0
indicates that the index was not reset.
resetStatusCode
Status code for resetting the index.
resetStatusMessage
Status message. Possible values are
ERROR
,
PROGRESS
, or
READY
.
Vista de página 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 ... 76 77

Comentários a estes Manuais

Sem comentários