Google Search Appliance OneBox for Enterprise Developers Manual de usuario Pagina 24

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 30
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 23
Google Search Appliance: Google OneBox for Enterprise Developer’s Guide 24
description
<description>text</description>
Optional. A textual description of
what
the OneBox module does. This value is
important if you plan to make the modules that you develop available for
others to use. The description can contain up to 512 characters.
trigger
<trigger>keyword_or_regex</trigger>
Optional. The trigger expression determines when the search appliance invokes
the module. For information on regular expression syntax, see “Triggering
When the Query Matches a Regular Expression” on page 10.
You can specify multiple trigger values by separating each value with an OR
symbol or a pipe (|). For example, you can specify
<trigger> bug|CR </
trigger>
. The
trigger
element has the following required attribute:
triggerType="null"|"keyword"|"regex"
Required if the
<trigger>
element is present. The
triggerType
can have
one of the following values:
null
Trigger the keyword on every search. The OneBox module then
appears in all search results.
keyword
Trigger only when a search string starts with the indicated
keyword or keywords.
regex
Trigger when a search string matches the regular expression
statement. For information on the regular expression syntax, see
“Triggering When the Query Matches a Regular Expression” on page 10.
collection
<collection>collection_name</collection>
Optional. Specifies the collection that is the provider for an internal OneBox
module. If the
type
attribute of the onebox element is set to
internal
, this
element must contain a collection name. The collection name can be up to 32
characters in length.
providerURL
<providerURL>url</providerURL>
Optional. A fully qualified URL to which the GET request is passed for an
external OneBox module. If the
type
attribute of the onebox element is set to
external
, this element must contain a URL. If the URL uses the HTTPS protocol,
the search appliance creates a secure (SSL) session with the provider.
resultsTemplate
<resultsTemplate>child_elements</resultsTemplate>
Optional. The search appliance uses the XSLT template to convert the XML
response from the provider into HTML for the end user. The top level element
must be the
<xsl:template>
element which will be matched to generate the
HTML results. The
<xsl:template>
element must include a
name
attribute, and
must not include have the
match
attribute, which interferes with other
stylesheet operations in the search appliance front end. You can include other
<xsl:template>
elements within the stylesheet.
Element Description
Vista de pagina 23
1 2 ... 19 20 21 22 23 24 25 26 27 28 29 30

Comentarios a estos manuales

Sin comentarios