Google Search Appliance Administrative API Developers Gui Manual de usuario Pagina 21

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 77
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 20
Google Search Appliance: Administrative API Developer’s Guide: Protocol 21
Updating a Crawler Access Rule
To update a crawl access rule, send an authenticated
PUT
request to the following URL:
http://Search_Appliance:8000/feeds/crawlAccessNTLM/urlPattern
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=’urlPattern’>#new URL pattern</gsa:content>
<gsa:content name=’domain’>newdomain</gsa:content>
<gsa:content name=’isPublic’>0</gsa:content>
<gsa:content name=’order’>2</gsa:content>
<gsa:content name=’username’>newuser</gsa:content>
<gsa:content name=’password’>newpass</gsa:content>
</entry>
Deleting a Crawler Access Rule
To delete a crawl access rule, send an authenticated
DELETE
request to the following URL:
http://Search_Appliance:8000/feeds/crawlAccessNTLM/urlPattern
Host Load Schedule
Retrieve and update the host load schedule for a search appliance using the
hostLoad
entry of the
config
feed.
Property Description
defaultHostLoad
The default web server host load, a float value.
exceptionHostLoad
Exceptions to the default web server host load. This property consists of
one or more lines of text in the following format:
hostName startTime endTime loadFactor
Where:
hostName
is a URL or asterisk (
*
) to represent all hosts. If a
hostName
contains multiple load data values, separate the host name into
multiple lines with each line containing one load value. The values
cannot overlap.
startTime
and
endTime
are integer values between
0
and
23
and
represent when to start and end crawling.
loadFactor
is a float value from
0
to
4
that represents the processing
load on a search appliance, where
0
is unloaded and
4
is overloaded.
maxURLs
Maximum number of URLs to crawl, an integer value.
Vista de pagina 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 ... 76 77

Comentarios a estos manuales

Sin comentarios