
Google Search Appliance: Administrative API Developer’s Guide: Protocol 48
This value overwrites the stylesheet properties specified in the entry to update for the designated
Front_End
and
Language_Code
:
<?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/outputFormat/default_frontend</id>
<gsa:content name=’entryID’>default_frontend</gsa:content>
<gsa:content name=’language’>en</gsa:content>
<gsa:content name=’restoreDefaultFormat’>1</gsa:content>
<gsa:content name=’styleSheetContent’>
<!-- *** START OF STYLESHEET *** -->
<!-- XML escaped XSLT code goes here -->
<!-- *** END OF STYLESHEET *** -->
</gsa:content>
<gsa:content name=’isDefaultLanguage’>1</gsa:content>
</entry>
KeyMatch
Retrieve or update KeyMatch settings on a search appliance using the
keymatch
feed. KeyMatch lets you
promote specific web pages on your site. The parameters for this feed are:
The
keymatch
feed has the following properties:
Parameter Description
query
A query string to perform a full-text search. For example, if you specify
computer
in the
query
parameter, then you will get all KeyMatch settings
that contain the word computer.
startLine
The starting line number of a result, the default value is
0
results.
maxLines
The number of result lines in a response, the default value is
50
lines of
results.
Property Description
line_number
The
line_number
of the KeyMatch configuration rule.
newLines
The KeyMatch settings to replace the existing values. You can specify
multiple lines of KeyMatch values. The line delimiter is
\n
.
numLines
The total number of result lines.
originalLines
The original KeyMatch settings to change. You can include multiple lines of
KeyMatch values. The line delimiter is
\n
.
Kommentare zu diesen Handbüchern