Search, Resetting the index – Google Search Appliance Administrative API Developers Guide: Protocol User Manual

Page 43

Advertising
background image

Google Search Appliance: Administrative API Developer’s Guide: Protocol

43

An example response result is as follows:

<?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/command/resetIndex</id>
<updated>2008-12-11T09:00:21.907Z</updated>
<link rel=’self’ type=’application/atom+xml’

href=’http://gsa:8000/feeds/command/resetIndex’/>

<link rel=’edit’ type=’application/atom+xml’

href=’http://gsa:8000/feeds/command/resetIndex’/>

<gsa:content name=’entryID’>resetIndex</gsa:content>
<gsa:content name=’resetStatusCode’>2</gsa:content>
<gsa:content name=’resetIndex’>1</gsa:content>
<gsa:content name=’resetStatusMessage’>PROGRESS</gsa:content>

</entry>

Resetting the Index

To reset the index, send an authenticated PUT request to the following URL:

http://Search_Appliance:8000/feeds/command/resetIndex

The following is an example of resetting the index:

<?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=’resetIndex’>1</gsa:content>

</entry>

Search

The sections that follow describe how to configure the Search features of the Admin Console:

“Front Ends, Remove URLs, and Relative OneBoxes” on page 44

“Output Format XSLT Stylesheet” on page 46

“KeyMatch” on page 48

“Related Queries” on page 50

“Query Suggestion” on page 53

“Search Status” on page 54

Advertising