Google Search Appliance OneBox for Enterprise Developers Manuale Utente Pagina 22

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 30
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 21
Google Search Appliance: Google OneBox for Enterprise Developer’s Guide 22
Module Definition Schema
The OneBox module definition schema file is available in the
onebox.xsd
file, which is available in the
OneBox simulator download (http://google-developers.appspot.com/search-appliance/download/
downloadsdk). Your OneBox module definition XML file must conform to this schema.
For information about GET call parameters, see “Call Parameters” on page 25.
The
GoogleEnterpriseSources
element contains the following elements:
<globals>child-elements</globals>
<onebox>child-elements</onebox>
<ModulesPerFrontend>child-elements</ModulesPerFrontend>
Note: The
globals
element provides the Admin Console with the maximum number of OneBox results
per search and the OneBox response timeout in milliseconds. Do not put the
globals
element in your
XML file. Similarly, the Admin Console uses the
ModulesPerFrontend
element internally. Do not put the
ModulesPerFrontend
element in your XML file.
onebox Element
The
onebox
element provides the root element of a
onebox
module definition. This element contains all
of the settings for a module.
Note: Do not set the
id=
attributes that appear in the
onebox.xsd
file. The search appliance does not
use any of the
id
attributes.
Syntax
<onebox type="type" suppressDateTime="true-false" suppressIPAddr="true-false">
<name>string</name>
<security userAuth="authType" id="security">
<GSA_username>username</GSA_username>
<GSA_password>password</GSA_password>
</security>
<description>string</description>
<trigger triggerType="null_keyword_regex">keyword1|keyword2|keywordn</trigger>
<providerURL>url</providerURL>
<collection>name</collection>
<resultsTemplate>
...
</resultsTemplate>
</onebox>
The
onebox.xsd
elements are as follows:
<onebox> attributes_and_child_elements
</onebox>
Required. Indicates OneBox configuration
parameters.
Vedere la pagina 21
1 2 ... 17 18 19 20 21 22 23 24 25 26 27 28 29 30

Commenti su questo manuale

Nessun commento