beautypg.com

Automatic language filters – Google Search Appliance Protocol Reference User Manual

Page 32

background image

Google Search Appliance: Search Protocol Reference

Request Format

32

Automatic Language Filters

The Google Search Appliance automatically detects the language of each search query and returns
results in that language. For example, if a user submits a search query in Hungarian (lang_hu), results
are automatically returned in Hungarian.

The algorithm for automatically determining the language of a web document is not customizable. The
language of a document is determined primarily by the language used for the majority of the text in the
body of the document.

Note: Encoding schemes for the input and output of search requests are also important when you
provide international search. For more information on encoding, see “Internationalization” on page 34.
For more information on how language filtering works with Simplified Chinese and Traditional Chinese,
see “Language Filtering for Traditional and Simplified Chinese” on page 33.

The automatic language filters are:

Language

Automatic Language Filter Name

Arabic

lang_ar

Chinese (Simplified)

lang_zh-CN

Chinese (Traditional)

lang_zh-TW

Czech

lang_cs

Danish

lang_da

Dutch

lang_nl

English

lang_en

Estonian

lang_et

Finnish

lang_fi

French

lang_fr

German

lang_de

Greek

lang_el

Hebrew

lang_iw

Hungarian

lang_hu

Icelandic

lang_is

Italian

lang_it

Japanese

lang_ja

Korean

lang_ko

Latvian

lang_lv

Lithuanian

lang_lt

Norwegian

lang_no

Portuguese

lang_pt

Polish

lang_pl

Romanian

lang_ro

Russian

lang_ru