Google Search Appliance Administrative API Developers Guide: .NET User Manual
Page 35

Google Search Appliance: Administrative API Developer’s Guide: .NET
35
Use the following properties to set KeyMatch configurations.
Note: The format for a KeyMatch configuration rule is as follows:
Search_Term,KeyMatch_Type,URL,Title
KeyMatch_Type can be: KeywordMatch, PhraseMatch, or ExactMatch.
Search_Term and URL fields cannot be empty. The KeyMatch configuration conforms to the CSV format,
which uses commas to separate values.
startLine
The starting line number of a result, default value is 0.
maxLines
The number of result lines in a response, default value is 50 lines.
Property
Description
line_number
The line_number of the KeyMatch configuration rule.
newLines
The new KeyMatch configuration to update. This value may include
multiple KeyMatch statements. The line delimiter is \n.
numLines
The number of total result lines.
originalLines
The original KeyMatch configurations to change. The value may include
multiple KeyMatch statements. The line delimiter is \n.
startLine
The starting line number of a KeyMatch configuration to change. The
minimum value is 0.
updateMethod
The method to change a KeyMatch configuration.
Possible values are:
•
update. Updates part of the KeyMatch configuration table to the
new configurations. Delete KeyMatch configurations using the
update method. See the example that follows.
•
append. Adds a new KeyMatch configuration to the end of the
KeyMatch configuration table.
•
replace. Deletes all rules in the KeyMatch configuration table and
then appends the new rules that you provide.
Parameter
Description