Google Search Appliance Administrative API Developers Gui Instrukcja Użytkownika Strona 54

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 77
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 53
Google Search Appliance: Administrative API Developer’s Guide: Protocol 54
Update query suggestion blacklist entries as follows:
PUT request
URL: http://Search_Appliance:8000/feeds/suggest/suggestBlacklist
<?xml version=’1.0’ encoding=’UTF-8’?>
<atom:entry xmlns:atom=’http://www.w3.org/2005/Atom’
xmlns:gsa=’http://schemas.google.com/gsa/2007’
xmlns:apps=’http://schemas.google.com/apps/2006’>
<gsa:content name=’suggestBlacklist’>
bad_word_3
^bad_word_1$
car[0-9]{4}.*
</gsa:content>
</atom:entry>
Query Suggestion Refresh
The query suggestion refresh supports the /suggest feature described in the “Query Suggestion Service
/suggest Protocol” chapter of the Search Protocol Reference. This feature uses the
suggest
feed to
refresh the query suggestion database.
Refresh query suggestions as follows:
PUT request
URL: http://Search_Appliance:8000/feeds/suggest/suggestRefresh
<?xml version=’1.0’ encoding=’UTF-8’?>
<atom:entry xmlns:atom=’http://www.w3.org/2005/Atom’
xmlns:gsa=’http://schemas.google.com/gsa/2007’
xmlns:apps=’http://schemas.google.com/apps/2006’>
<gsa:content name=’suggestRefresh’>1</gsa:content>
</atom:entry>
Search Status
Retrieve serving status for a search appliance using the
servingStatus
entry of the
status
feed.
Retrieving the Serving Status Entry
To get the current search appliance serving status, send an authenticated
GET
request to the
status
feed URL:
http://Search_Appliance:8002/feeds/status/servingStatus
Property Description
suggestRefresh
Triggers a query suggestion refresh.
Property Description
queriesPerMinute
Average queries per minute recently served on the search appliance.
searchLatency
Recent search latency in seconds.
Przeglądanie stron 53
1 2 ... 49 50 51 52 53 54 55 56 57 58 59 ... 76 77

Komentarze do niniejszej Instrukcji

Brak uwag